summaryrefslogtreecommitdiffstats
path: root/sys/dev/rnd.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2021-03-06 09:20:49 +0000
committerjsg <jsg@openbsd.org>2021-03-06 09:20:49 +0000
commit0bca52fc7c89ec4766656ff7feea08eaab3446cb (patch)
tree1d0d23b530430d3b6ab4e3cbd22d577b85e6eb12 /sys/dev/rnd.c
parentput back Lst_Destroy(paths) where it belongs (diff)
downloadwireguard-openbsd-0bca52fc7c89ec4766656ff7feea08eaab3446cb.tar.xz
wireguard-openbsd-0bca52fc7c89ec4766656ff7feea08eaab3446cb.zip
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];