Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 2017 04:55:14 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326490 - head/stand/powerpc/ofw
Message-ID:  <201712030455.vB34tE3j056356@repo.freebsd.org>

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



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