summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2004-07-21 01:02:07 +0000
committermickey <mickey@openbsd.org>2004-07-21 01:02:07 +0000
commit71ffae437689851ee881e40e94e8daf547284270 (patch)
treeb6541da007501d7e7699773200e85b1bdff74fd1
parentfrom freebsd, ugen.c 1.68 usbdi_util.c 1.27 usbdi_util.h 1.15 (diff)
downloadwireguard-openbsd-71ffae437689851ee881e40e94e8daf547284270.tar.xz
wireguard-openbsd-71ffae437689851ee881e40e94e8daf547284270.zip
remove a few inlines from funcs that are used more than once and make code bigger; asked by art@
-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;