From afb769e9f82b1363ab70fa5f73fa5019481545ff Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sun, 3 Dec 2017 04:55:14 +0000 Subject: [PATCH] Declare our strange brand of main(). Sponsored by: Netflix --- stand/powerpc/ofw/start.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stand/powerpc/ofw/start.c b/stand/powerpc/ofw/start.c index 911a2ec2af77..5e0744be45a3 100644 --- a/stand/powerpc/ofw/start.c +++ b/stand/powerpc/ofw/start.c @@ -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) {