Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2018 21:51:09 +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: r328447 - head/stand/mips/beri/boot2
Message-ID:  <201801262151.w0QLp9Em021312@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Jan 26 21:51:09 2018
New Revision: 328447
URL: https://svnweb.freebsd.org/changeset/base/328447

Log:
  BERI isn't BTX, so we don't have to provide exit(). Just remove it
  since it's unused.

Modified:
  head/stand/mips/beri/boot2/boot2.c

Modified: head/stand/mips/beri/boot2/boot2.c
==============================================================================
--- head/stand/mips/beri/boot2/boot2.c	Fri Jan 26 21:50:59 2018	(r328446)
+++ head/stand/mips/beri/boot2/boot2.c	Fri Jan 26 21:51:09 2018	(r328447)
@@ -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);
@@ -276,12 +275,6 @@ main(u_int argc, const char *argv[], const char *envv[
 	else
 	    load();
     }
-}
-
-/* XXX - Needed for btxld to link the boot2 binary; do not remove. */
-void
-exit(int x)
-{
 }
 
 static void



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