summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-07-21 01:02:08 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-07-21 01:02:08 +0000
commitc5e26593d93e67f3a3cbbcea02f1060991c3a257 (patch)
treebf58ad85a202614cc3d729b6e9955845f3315628 /sys
parent1939583a95bbe7a8022a6bee1010821fde2ff1bb (diff)
remove a few inlines from funcs that are used more than once and make code bigger; asked by art@
Diffstat (limited to 'sys')
-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 30a998b5a4a..fb4d7e98985 100644
--- a/sys/dev/rnd.c
+++ b/sys/dev/rnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rnd.c,v 1.72 2004/07/06 21:24:36 mickey Exp $ */
+/* $OpenBSD: rnd.c,v 1.73 2004/07/21 01:02:07 mickey Exp $ */
/*
* rnd.c -- A strong random number generator
@@ -471,10 +471,10 @@ rnd_qlen(void)
void dequeue_randomness(void *);
-static __inline void add_entropy_words(const u_int32_t *, u_int n);
+static void add_entropy_words(const u_int32_t *, u_int n);
static __inline void extract_entropy(register u_int8_t *, int);
-static __inline u_int8_t arc4_getbyte(void);
+static u_int8_t arc4_getbyte(void);
static __inline void arc4_stir(void);
void arc4_reinit(void *v);
void arc4maybeinit(void);
@@ -497,7 +497,7 @@ void arc4maybeinit(void);
* RC4 is a registered trademark of RSA Laboratories.
*/
-static __inline u_int8_t
+static u_int8_t
arc4_getbyte(void)
{
register u_int8_t si, sj, ret;
@@ -669,7 +669,7 @@ randomclose(dev, flag, mode, p)
* scancodes, for example), the upper bits of the entropy pool don't
* get affected. --- TYT, 10/11/95
*/
-static __inline void
+static void
add_entropy_words(buf, n)
const u_int32_t *buf;
u_int n;