git: 1cd848a3141e - stable/13 - fsutil: forward declare struct fstab
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Jan 2022 22:27:04 UTC
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 *);