summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/random_machdep.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-04-15 17:47:40 +0000
committerbde <bde@FreeBSD.org>1998-04-15 17:47:40 +0000
commitb598f559b2947bb9582b53221185bb27d86cd68f (patch)
treef0a3b1121a7c68f5b6b630a3981fb3a4fbbc9c43 /sys/i386/isa/random_machdep.c
parent37b60f29dd0d528b8bc950b0b559f304b73db9ec (diff)
downloadFreeBSD-src-b598f559b2947bb9582b53221185bb27d86cd68f.zip
FreeBSD-src-b598f559b2947bb9582b53221185bb27d86cd68f.tar.gz
Support compiling with `gcc -ansi'.
Diffstat (limited to 'sys/i386/isa/random_machdep.c')
-rw-r--r--sys/i386/isa/random_machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/random_machdep.c b/sys/i386/isa/random_machdep.c
index e1f1f61..e87a9d9 100644
--- a/sys/i386/isa/random_machdep.c
+++ b/sys/i386/isa/random_machdep.c
@@ -1,7 +1,7 @@
/*
* random_machdep.c -- A strong random number generator
*
- * $Id: random_machdep.c,v 1.23 1998/03/29 11:55:06 phk Exp $
+ * $Id: random_machdep.c,v 1.24 1998/04/06 09:30:32 phk Exp $
*
* Version 0.95, last modified 18-Oct-95
*
@@ -136,7 +136,7 @@ rand_initialize(void)
* scancodes, for example), the upper bits of the entropy pool don't
* get affected. --- TYT, 10/11/95
*/
-static inline void
+static __inline void
add_entropy_word(struct random_bucket *r, const u_int32_t input)
{
u_int i;
@@ -253,7 +253,7 @@ add_blkdev_randomness(int major)
* bits of entropy are left in the pool, but it does not restrict the
* number of bytes that are actually obtained.
*/
-static inline int
+static __inline int
extract_entropy(struct random_bucket *r, char *buf, int nbytes)
{
int ret, i;
OpenPOWER on IntegriCloud