summaryrefslogtreecommitdiff
path: root/sys/stand/boot
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-05 23:27:36 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-05 23:27:36 +0000
commit929c3d10230b4cb4fda51d299938ee25f120b9bd (patch)
tree24d77bd195e9477eba15cb71e678e59d888010e0 /sys/stand/boot
parentb021ab4f592f4da5aacc5d0d685ec3270a0ad0c5 (diff)
devboot is no longer in boot.c
missed from last commit
Diffstat (limited to 'sys/stand/boot')
-rw-r--r--sys/stand/boot/boot.c36
1 files changed, 1 insertions, 35 deletions
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()