Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2020 14:04:27 +0000 (UTC)
From:      Toomas Soome <tsoome@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r367710 - head/stand/i386/zfsboot
Message-ID:  <202011151404.0AFE4RgS057177@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011151404.0AFE4RgS057177>