summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-22 10:38:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-22 10:38:59 +0000
commitc723c03a0a6f75c74b9610f1b3dfbf31ca640c43 (patch)
treefd1c84afb1a9917cd557bde7883d6ab2bbf0853e
parent34c132545d037bff98651f6356f54ec8cff6546e (diff)
ugly but make it work
-rw-r--r--sys/arch/sparc/stand/promdev.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/arch/sparc/stand/promdev.c b/sys/arch/sparc/stand/promdev.c
index 94ab155eff0..48a51cb9c12 100644
--- a/sys/arch/sparc/stand/promdev.c
+++ b/sys/arch/sparc/stand/promdev.c
@@ -45,6 +45,8 @@
#include "promdev.h"
+u_long _randseed = 1;
+
int obp_close __P((struct open_file *));
int obp_strategy __P((void *, int, daddr_t, size_t, void *, size_t *));
@@ -413,6 +415,12 @@ getchar()
}
int
+cngetc()
+{
+ return getchar();
+}
+
+int
peekchar()
{
char c;