summaryrefslogtreecommitdiff
path: root/crypto/rand/urandom.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rand/urandom.c')
-rw-r--r--crypto/rand/urandom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/urandom.c b/crypto/rand/urandom.c
index 6cd9271..2ad4af0 100644
--- a/crypto/rand/urandom.c
+++ b/crypto/rand/urandom.c
@@ -87,7 +87,7 @@ static int urandom_buffering = 0;
/* urandom_get_fd_locked returns a file descriptor to /dev/urandom. The caller
* of this function must hold CRYPTO_LOCK_RAND. */
-static int urandom_get_fd_locked() {
+static int urandom_get_fd_locked(void) {
if (urandom_fd != -2)
return urandom_fd;