Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jan 2022 22:27:04 GMT
From:      Kirk McKusick <mckusick@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 1cd848a3141e - stable/13 - fsutil: forward declare struct fstab
Message-ID:  <202201022227.202MR4Oj025048@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mckusick:

URL: https://cgit.FreeBSD.org/src/commit/?id=1cd848a3141edd28897f74b7b6bf17f4ea14c982

commit 1cd848a3141edd28897f74b7b6bf17f4ea14c982
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-12-16 02:38:28 +0000
Commit:     Kirk McKusick <mckusick@FreeBSD.org>
CommitDate: 2022-01-02 22:23:57 +0000

    fsutil: forward declare struct fstab
    
    Fix the build by forward declaring struct fstab.
    
    Sponsored by:           Netflix
    
    (cherry picked from commit 7090cba410b3fcaa00d75e86eacd636501b1494b)
---
 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?202201022227.202MR4Oj025048>