git: b180a5b75cb9 - stable/12 - zfsboot: add prototype for main()

From: Kyle Evans <kevans_at_FreeBSD.org>
Date: Fri, 08 Oct 2021 06:11:17 UTC
The branch stable/12 has been updated by kevans:

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

commit b180a5b75cb95c6316f668b811bfffc071e2325f
Author:     Toomas Soome <tsoome@FreeBSD.org>
AuthorDate: 2020-11-15 14:04:27 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2021-10-08 05:24:28 +0000

    zfsboot: add prototype for main()
    
    Some compilers are complaining about missing prototype.
    
    PR:             251150
    
    (cherry picked from commit fc7cf7241f89a3d3ccc20cb49c5bf61e154b7a1b)
---
 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 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)
 {