summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2014-05-31 10:32:13 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2014-05-31 10:32:13 +0000
commit0432e9cfdeabab76d355ef51a156198074b46be4 (patch)
tree4344b13594074f1bcb64edab2a5c35b4fe3d20ef /lib/libc
parenta779377992a1279f213647452a8d7253b54326ed (diff)
Delete the extraneous "return" statement at the end of a void function.
From Fritjof Bornebusch.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/crypt/arc4random.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/crypt/arc4random.c b/lib/libc/crypt/arc4random.c
index 7ff1495fc46..e08b729a04d 100644
--- a/lib/libc/crypt/arc4random.c
+++ b/lib/libc/crypt/arc4random.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arc4random.c,v 1.30 2014/05/06 16:06:33 tedu Exp $ */
+/* $OpenBSD: arc4random.c,v 1.31 2014/05/31 10:32:12 jca Exp $ */
/*
* Copyright (c) 1996, David Mazieres <dm@uun.org>
@@ -165,7 +165,6 @@ _rs_random_u32(u_int32_t *val)
memcpy(val, rs_buf + RSBUFSZ - rs_have, sizeof(*val));
memset(rs_buf + RSBUFSZ - rs_have, 0, sizeof(*val));
rs_have -= sizeof(*val);
- return;
}
u_int32_t