summaryrefslogtreecommitdiffstats
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
parente13eace5220ac5badc15220272d36edacc9f8cea (diff)
knf: function names at start of line
-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 5284e1af..1eeb6953 100644
--- a/openbsd-compat/bsd-arc4random.c
+++ b/openbsd-compat/bsd-arc4random.c
@@ -17,7 +17,7 @@
#include "includes.h"
#include "log.h"
-RCSID("$Id: bsd-arc4random.c,v 1.9 2004/07/18 23:30:40 djm Exp $");
+RCSID("$Id: bsd-arc4random.c,v 1.10 2005/02/16 02:01:28 djm Exp $");
#ifndef HAVE_ARC4RANDOM
@@ -34,7 +34,8 @@ RCSID("$Id: bsd-arc4random.c,v 1.9 2004/07/18 23:30:40 djm Exp $");
static int rc4_ready = 0;
static RC4_KEY rc4;
-unsigned int arc4random(void)
+unsigned int
+arc4random(void)
{
unsigned int r = 0;
static int first_time = 1;
@@ -53,7 +54,8 @@ unsigned int arc4random(void)
return(r);
}
-void arc4random_stir(void)
+void
+arc4random_stir(void)
{
unsigned char rand_buf[SEED_SIZE];
int i;