svn commit: r326490 - head/stand/powerpc/ofw

Warner Losh imp at FreeBSD.org
Sun Dec 3 04:55:18 UTC 2017


Author: imp
Date: Sun Dec  3 04:55:14 2017
New Revision: 326490
URL: https://svnweb.freebsd.org/changeset/base/326490

Log:
  Declare our strange brand of main().
  
  Sponsored by: Netflix

Modified:
  head/stand/powerpc/ofw/start.c

Modified: head/stand/powerpc/ofw/start.c
==============================================================================
--- head/stand/powerpc/ofw/start.c	Sun Dec  3 04:55:09 2017	(r326489)
+++ head/stand/powerpc/ofw/start.c	Sun Dec  3 04:55:14 2017	(r326490)
@@ -67,6 +67,8 @@ _start:				\n\
 2:	b	startup		\n\
 ");
 
+void main(int (*openfirm)(void *));
+
 void
 startup(void *vpd, int res, int (*openfirm)(void *), char *arg, int argl)
 {


More information about the svn-src-all mailing list