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