svn commit: r367710 - head/stand/i386/zfsboot

Toomas Soome tsoome at FreeBSD.org
Sun Nov 15 14:04:27 UTC 2020


Author: tsoome
Date: Sun Nov 15 14:04:27 2020
New Revision: 367710
URL: https://svnweb.freebsd.org/changeset/base/367710

Log:
  zfsboot: add prototype for main()
  
  Some compilers are complaining about missing prototype.
  
  PR:		251150
  Reported by:	markiyan.kushnir at gmail.com

Modified:
  head/stand/i386/zfsboot/zfsboot.c

Modified: head/stand/i386/zfsboot/zfsboot.c
==============================================================================
--- head/stand/i386/zfsboot/zfsboot.c	Sun Nov 15 12:59:24 2020	(r367709)
+++ head/stand/i386/zfsboot/zfsboot.c	Sun Nov 15 14:04:27 2020	(r367710)
@@ -161,6 +161,8 @@ ptov(uintptr_t x)
 	return (PTOV(x));
 }
 
+int main(void);
+
 int
 main(void)
 {


More information about the svn-src-head mailing list