summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2005-05-27 16:33:28 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2005-05-27 16:33:28 +0000
commitc172e0a293252febf3e42cce242a4cd01db57a0e (patch)
tree1d1ed5aa190c23c5de9861fa1055c8516d04c4d5 /sys/dev
parentee8be2b25bcabffe3484761b00235942d56a45dc (diff)
De-inline a couple of long functions, which also makes them debugger-visible. 'makes sense' mickey@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/rnd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/rnd.c b/sys/dev/rnd.c
index f0adfb516d2..90634d132cc 100644
--- a/sys/dev/rnd.c
+++ b/sys/dev/rnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rnd.c,v 1.76 2005/03/04 17:09:21 robert Exp $ */
+/* $OpenBSD: rnd.c,v 1.77 2005/05/27 16:33:27 ho Exp $ */
/*
* rnd.c -- A strong random number generator
@@ -472,10 +472,10 @@ rnd_qlen(void)
void dequeue_randomness(void *);
static void add_entropy_words(const u_int32_t *, u_int n);
-static __inline void extract_entropy(register u_int8_t *, int);
+void extract_entropy(register u_int8_t *, int);
static u_int8_t arc4_getbyte(void);
-static __inline void arc4_stir(void);
+void arc4_stir(void);
void arc4_reinit(void *v);
void arc4maybeinit(void);
@@ -517,7 +517,7 @@ arc4_getbyte(void)
return (ret);
}
-static __inline void
+void
arc4_stir(void)
{
u_int8_t buf[256];
@@ -882,7 +882,7 @@ dequeue_randomness(v)
* bits of entropy are left in the pool, but it does not restrict the
* number of bytes that are actually obtained.
*/
-static __inline void
+void
extract_entropy(buf, nbytes)
register u_int8_t *buf;
int nbytes;