Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 2021 03:04:21 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 7090cba410b3 - main - fsutil: forward declare struct fstab
Message-ID:  <202112160304.1BG34LSw055827@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112160304.1BG34LSw055827>