summaryrefslogtreecommitdiffstats
path: root/sys/dev/rnd.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-05-27 01:59:58 +0000
committerderaadt <deraadt@openbsd.org>2002-05-27 01:59:58 +0000
commitea11aaf632e630c8ca705a1e9a1156c996d8708c (patch)
tree3c979ea4720214dba199fc61b8a17a7d13d56d56 /sys/dev/rnd.c
parenta night of cleanup, so i can read this easier (diff)
downloadwireguard-openbsd-ea11aaf632e630c8ca705a1e9a1156c996d8708c.tar.xz
wireguard-openbsd-ea11aaf632e630c8ca705a1e9a1156c996d8708c.zip
kill unused arc4random_8() API
Diffstat (limited to 'sys/dev/rnd.c')
-rw-r--r--sys/dev/rnd.c6
1 files changed, 4 insertions, 2 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();