summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-27 01:59:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-27 01:59:59 +0000
commite41d421b77823107e4070fdb092e53ab9725c248 (patch)
treeb1729e323b142a80724d19de31e2d25a2c23999f /sys/dev
parent57f7b372da8f4a0a182066821a43e3422d5d3a86 (diff)
kill unused arc4random_8() API
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/rnd.c6
-rw-r--r--sys/dev/rndvar.h3
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/rnd.c b/sys/dev/rnd.c
index 4685171d9ab..368e458e484 100644
--- a/sys/dev/rnd.c
+++ b/sys/dev/rnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rnd.c,v 1.57 2002/04/01 08:25:58 mickey Exp $ */
+/* $OpenBSD: rnd.c,v 1.58 2002/05/27 01:59:58 deraadt Exp $ */
/*
* random.c -- A strong random number generator
@@ -553,7 +553,9 @@ arc4_reinit(v)
arc4random_initialized = 0;
}
-int
+static int arc4random_8(void);
+
+static int
arc4random_8(void)
{
arc4maybeinit();
diff --git a/sys/dev/rndvar.h b/sys/dev/rndvar.h
index 71ed91ece86..2267dee3a6f 100644
--- a/sys/dev/rndvar.h
+++ b/sys/dev/rndvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rndvar.h,v 1.16 2002/03/14 01:26:52 millert Exp $ */
+/* $OpenBSD: rndvar.h,v 1.17 2002/05/27 01:59:58 deraadt Exp $ */
/*
* Copyright (c) 1996,2000 Michael Shalayeff.
@@ -92,7 +92,6 @@ extern struct rndstats rndstats;
void enqueue_randomness(int, int);
void get_random_bytes(void *, size_t);
u_int32_t arc4random(void);
-int arc4random_8(void);
#endif /* _KERNEL */