aboutsummaryrefslogtreecommitdiff
path: root/stand
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2020-11-15 14:04:27 +0000
committerToomas Soome <tsoome@FreeBSD.org>2020-11-15 14:04:27 +0000
commitfc7cf7241f89a3d3ccc20cb49c5bf61e154b7a1b (patch)
tree4667baffa1e13124addc19bc8df1fb7af19c17d2 /stand
parentcd5b6d16cae3fc15b0f673aabde5da5eaa8dba87 (diff)
downloadsrc-fc7cf7241f89a3d3ccc20cb49c5bf61e154b7a1b.tar.gz
src-fc7cf7241f89a3d3ccc20cb49c5bf61e154b7a1b.zip
zfsboot: add prototype for main()
Some compilers are complaining about missing prototype. PR: 251150 Reported by: markiyan.kushnir@gmail.com
Notes
Notes: svn path=/head/; revision=367710
Diffstat (limited to 'stand')
-rw-r--r--stand/i386/zfsboot/zfsboot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stand/i386/zfsboot/zfsboot.c b/stand/i386/zfsboot/zfsboot.c
index ed791f14a1f3..1067c4c6cd42 100644
--- a/stand/i386/zfsboot/zfsboot.c
+++ b/stand/i386/zfsboot/zfsboot.c
@@ -161,6 +161,8 @@ ptov(uintptr_t x)
return (PTOV(x));
}
+int main(void);
+
int
main(void)
{