git: 7090cba410b3 - main - fsutil: forward declare struct fstab

From: Warner Losh <imp_at_FreeBSD.org>
Date: Thu, 16 Dec 2021 03:04:21 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=7090cba410b3fcaa00d75e86eacd636501b1494b

commit 7090cba410b3fcaa00d75e86eacd636501b1494b
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-12-16 02:38:28 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-12-16 02:38:28 +0000

    fsutil: forward declare struct fstab
    
    Fix the build by forward declaring struct fstab.
    
    Sponsored by:           Netflix
---
 sbin/fsck/fsutil.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sbin/fsck/fsutil.h b/sbin/fsck/fsutil.h
index 8bb9ddb90d6e..e65f5ddecb01 100644
--- a/sbin/fsck/fsutil.h
+++ b/sbin/fsck/fsutil.h
@@ -28,6 +28,7 @@
  * $FreeBSD$
  */
 
+struct fstab;
 int checkfstab(int, int (*)(struct fstab *), 
     int (*) (const char *, const char *, const char *, const char *, pid_t *));
 int getfsopt(struct fstab *, const char *);