summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2005-02-16 13:01:28 +1100
committerDamien Miller <djm@mindrot.org>2005-02-16 13:01:28 +1100
commit66df70c97d189fb8bdf35a66b42f62bcc0a6e4da (patch)
treefd9be83772a1643efe29f62eebbd9935900bfa3f /openbsd-compat
parente13eace5220ac5badc15220272d36edacc9f8cea (diff)
knf: function names at start of line
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/bsd-arc4random.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/openbsd-compat/bsd-arc4random.c b/openbsd-compat/bsd-arc4random.c
index 5284e1af8..1eeb6953b 100644
--- a/openbsd-compat/bsd-arc4random.c
+++ b/openbsd-compat/bsd-arc4random.c
@@ -17,7 +17,7 @@
17#include "includes.h" 17#include "includes.h"
18#include "log.h" 18#include "log.h"
19 19
20RCSID("$Id: bsd-arc4random.c,v 1.9 2004/07/18 23:30:40 djm Exp $"); 20RCSID("$Id: bsd-arc4random.c,v 1.10 2005/02/16 02:01:28 djm Exp $");
21 21
22#ifndef HAVE_ARC4RANDOM 22#ifndef HAVE_ARC4RANDOM
23 23
@@ -34,7 +34,8 @@ RCSID("$Id: bsd-arc4random.c,v 1.9 2004/07/18 23:30:40 djm Exp $");
34static int rc4_ready = 0; 34static int rc4_ready = 0;
35static RC4_KEY rc4; 35static RC4_KEY rc4;
36 36
37unsigned int arc4random(void) 37unsigned int
38arc4random(void)
38{ 39{
39 unsigned int r = 0; 40 unsigned int r = 0;
40 static int first_time = 1; 41 static int first_time = 1;
@@ -53,7 +54,8 @@ unsigned int arc4random(void)
53 return(r); 54 return(r);
54} 55}
55 56
56void arc4random_stir(void) 57void
58arc4random_stir(void)
57{ 59{
58 unsigned char rand_buf[SEED_SIZE]; 60 unsigned char rand_buf[SEED_SIZE];
59 int i; 61 int i;