diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libc/stdlib/random.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/random.c b/src/lib/libc/stdlib/random.c index a71402ace5..e4ff07ea0c 100644 --- a/src/lib/libc/stdlib/random.c +++ b/src/lib/libc/stdlib/random.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: random.c,v 1.23 2014/07/13 14:21:14 tedu Exp $ */ | 1 | /* $OpenBSD: random.c,v 1.24 2014/10/13 20:54:13 chl Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 1983 Regents of the University of California. | 3 | * Copyright (c) 1983 Regents of the University of California. |
4 | * All rights reserved. | 4 | * All rights reserved. |
@@ -254,8 +254,6 @@ __warn_references(srandom, | |||
254 | void | 254 | void |
255 | srandomdev(void) | 255 | srandomdev(void) |
256 | { | 256 | { |
257 | size_t len; | ||
258 | |||
259 | LOCK(); | 257 | LOCK(); |
260 | use_arc4random = 1; | 258 | use_arc4random = 1; |
261 | UNLOCK(); | 259 | UNLOCK(); |