aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2020-11-15 14:04:27 +0000
committerKyle Evans <kevans@FreeBSD.org>2021-10-08 05:24:28 +0000
commitb180a5b75cb95c6316f668b811bfffc071e2325f (patch)
treec2a9e19653537347ed1a037a1d59193c5692bdea
parent12f9183eb7c7d4247c485c79c4657cb1fcb165d2 (diff)
downloadsrc-b180a5b75cb95c6316f668b811bfffc071e2325f.tar.gz
src-b180a5b75cb95c6316f668b811bfffc071e2325f.zip
zfsboot: add prototype for main()
Some compilers are complaining about missing prototype. PR: 251150 (cherry picked from commit fc7cf7241f89a3d3ccc20cb49c5bf61e154b7a1b)
-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 81a6d74abc7b..cca36b9cefb4 100644
--- a/stand/i386/zfsboot/zfsboot.c
+++ b/stand/i386/zfsboot/zfsboot.c
@@ -158,6 +158,8 @@ ptov(uintptr_t x)
return (PTOV(x));
}
+int main(void);
+
int
main(void)
{