BERI isn't BTX, so we don't have to provide exit(). Just remove it

since it's unused.
This commit is contained in:
Warner Losh 2018-01-26 21:51:09 +00:00
parent 39bdddcd8c
commit fe4709c915
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328447

View File

@ -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[])
{