From: mickey Date: Sat, 5 Apr 1997 23:27:35 +0000 (+0000) Subject: devboot is no longer in boot.c X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e40a822e6da9985f50d87e20f13c67f011bd83ab;p=openbsd devboot is no longer in boot.c missed from last commit --- 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() diff --git a/sys/stand/boot/boot.c b/sys/stand/boot/boot.c index 337c57498f2..776d734cfc5 100644 --- a/sys/stand/boot/boot.c +++ b/sys/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()