X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/ce48974556047ebb0ce392ab5d72ce2dba8a1509..87b845cf479e294fd9325ea48c1861f80106fb52:/sys/kern/subr_prf.c diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index d691092a6b..1378028657 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)subr_prf.c 7.30 (Berkeley) 6/29/91 - * $Id: subr_prf.c,v 1.5 1993/11/13 02:25:32 davidg Exp $ + * $Id: subr_prf.c,v 1.6 1993/12/19 00:51:32 wollman Exp $ */ #include "param.h" @@ -80,7 +80,6 @@ static void logpri __P((int level)); static void putchar __P((int ch, int flags, struct tty *tp)); static char *ksprintn __P((u_long num, int base, int *len)); void kprintf __P((const char *fmt, int flags, struct tty *tp, va_list)); -volatile void boot(int bootopt); /* * Variable panicstr contains argument to first call to panic; used @@ -99,14 +98,8 @@ int msgbufmapped; * and then reboots. If we are called twice, then we avoid trying to sync * the disks as this often leads to recursive panics. */ -#ifdef __STDC__ -volatile void -panic(const char *msg) -#else void -panic(msg) - char *msg; -#endif +panic(const char *msg) { int bootopt = RB_AUTOBOOT | RB_DUMP;