summaryrefslogtreecommitdiff
path: root/sys/dev/rnd.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-03-06 09:20:51 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-03-06 09:20:51 +0000
commitc4327a8c11dcc9f454ae26b805a79b9190c6b720 (patch)
treeabe7698c336cc7e1e0992fca84cda2ba6bb31ecc /sys/dev/rnd.c
parent8001fcee1bbe5617a1c235620a14f6a57837fc46 (diff)
ansi
Diffstat (limited to 'sys/dev/rnd.c')
-rw-r--r--sys/dev/rnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/rnd.c b/sys/dev/rnd.c
index df566d418a8..0f804e87822 100644
--- a/sys/dev/rnd.c
+++ b/sys/dev/rnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rnd.c,v 1.221 2020/06/15 14:52:19 deraadt Exp $ */
+/* $OpenBSD: rnd.c,v 1.222 2021/03/06 09:20:49 jsg Exp $ */
/*
* Copyright (c) 2011,2020 Theo de Raadt.
@@ -547,7 +547,7 @@ arc4random_buf(void *buf, size_t n)
* Allocate a new ChaCha20 context for the caller to use.
*/
struct arc4random_ctx *
-arc4random_ctx_new()
+arc4random_ctx_new(void)
{
char keybuf[KEYSZ + IVSZ];