diff options
Diffstat (limited to 'sys/arch/i386/stand/boot')
-rw-r--r-- | sys/arch/i386/stand/boot/boot.c | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/sys/arch/i386/stand/boot/boot.c b/sys/arch/i386/stand/boot/boot.c index 337c57498f2..776d734cfc5 100644 --- a/sys/arch/i386/stand/boot/boot.c +++ b/sys/arch/i386/stand/boot/boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boot.c,v 1.4 1997/04/04 04:47:45 mickey Exp $ */ +/* $OpenBSD: boot.c,v 1.5 1997/04/05 23:27:35 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -48,8 +48,6 @@ extern const char version[]; int boothowto; u_int cnvmem, extmem; -void devboot __P((dev_t, char *)); - void boot(bootdev) dev_t bootdev; @@ -107,38 +105,6 @@ boot(bootdev) } } -void -devboot(bootdev, p) - dev_t bootdev; - char *p; -{ -#ifdef _TEST - *p++ = '/'; - *p++ = 'd'; - *p++ = 'e'; - *p++ = 'v'; - *p++ = '/'; - *p++ = 'r'; -#endif - if (bootdev & 0x80) - *p++ = 'h'; - else - *p++ = 'f'; - *p++ = 'd'; -#ifndef _TEST - *p++ = '('; -#endif - *p++ = '0' + (bootdev & 0x7f); -#ifndef _TEST - *p++ = ','; -#endif - *p++ = 'a'; -#ifndef _TEST - *p++ = ')'; -#endif - *p = '\0'; -} - #ifdef _TEST int main() |