summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2002-06-11 10:12:47 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2002-06-11 10:12:47 +0000
commit720f6eac168bb1f9af2f1a792971a01871e8c93a (patch)
tree28f6161761edd40cd0e9d6511510d163866fffb5 /sys
parenteed0521a0277f0d1adde15aa1453ce518c6abe26 (diff)
Nuke unused function.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/vax/vax/rootfil.c51
1 files changed, 1 insertions, 50 deletions
diff --git a/sys/arch/vax/vax/rootfil.c b/sys/arch/vax/vax/rootfil.c
index 8cff5e459f2..64b5e8610cc 100644
--- a/sys/arch/vax/vax/rootfil.c
+++ b/sys/arch/vax/vax/rootfil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rootfil.c,v 1.12 2002/06/11 09:36:24 hugh Exp $ */
+/* $OpenBSD: rootfil.c,v 1.13 2002/06/11 10:12:46 hugh Exp $ */
/* $NetBSD: rootfil.c,v 1.14 1996/10/13 03:35:58 christos Exp $ */
/*
@@ -414,55 +414,6 @@ getstr(char *buf, int size) {
return (len);
}
-#if 0
-static int
-getstr(cp, size)
- char *cp;
- int size;
-{
- char *lp;
- int c;
- int len;
-
- lp = cp;
- len = 0;
- for (;;) {
- c = cngetc();
- switch (c) {
- case '\n':
- case '\r':
- printf("\n");
- *lp++ = '\0';
- return (len);
- case '\b':
- case '\177':
- case '#':
- if (len) {
- --len;
- --lp;
- printf("\b \b");
- }
- continue;
- case '@':
- case 'u'&037:
- len = 0;
- lp = cp;
- printf("\n");
- continue;
- default:
- if (len + 1 >= size || c < ' ') {
- printf("\007");
- continue;
- }
- printf("%c", c);
- ++len;
- *lp++ = c;
- }
- }
-}
-
-#endif
-
/*
* Configure swap space and related parameters.
*/