From fc7cf7241f89a3d3ccc20cb49c5bf61e154b7a1b Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Sun, 15 Nov 2020 14:04:27 +0000 Subject: [PATCH] zfsboot: add prototype for main() Some compilers are complaining about missing prototype. PR: 251150 Reported by: markiyan.kushnir@gmail.com --- stand/i386/zfsboot/zfsboot.c | 2 ++ 1 file changed, 2 insertions(+) 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) {