From fe4709c915d5bdc91193ea13b5a76a9744ce7eb4 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 26 Jan 2018 21:51:09 +0000 Subject: [PATCH] BERI isn't BTX, so we don't have to provide exit(). Just remove it since it's unused. --- stand/mips/beri/boot2/boot2.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/stand/mips/beri/boot2/boot2.c b/stand/mips/beri/boot2/boot2.c index bc46dbd80adb..3c8cc3dba1a7 100644 --- a/stand/mips/beri/boot2/boot2.c +++ b/stand/mips/beri/boot2/boot2.c @@ -137,7 +137,6 @@ static int comspeed = SIOSPD; struct bootinfo bootinfo; static uint8_t ioctrl = IO_KEYBOARD; -void exit(int); void putchar(int); static void boot_fromdram(void); static void boot_fromfs(void); @@ -278,12 +277,6 @@ main(u_int argc, const char *argv[], const char *envv[], uint64_t memsize) } } -/* XXX - Needed for btxld to link the boot2 binary; do not remove. */ -void -exit(int x) -{ -} - static void boot(void *entryp, int argc, const char *argv[], const char *envv[]) {