summaryrefslogtreecommitdiffstats
path: root/sys/dev
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
parentput back Lst_Destroy(paths) where it belongs (diff)
downloadwireguard-openbsd-0bca52fc7c89ec4766656ff7feea08eaab3446cb.tar.xz
wireguard-openbsd-0bca52fc7c89ec4766656ff7feea08eaab3446cb.zip
ansi
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/microcode/adw/adwmcode.c6
-rw-r--r--sys/dev/rnd.c4
2 files changed, 4 insertions, 6 deletions
diff --git a/sys/dev/microcode/adw/adwmcode.c b/sys/dev/microcode/adw/adwmcode.c
index cc564f1da64..b9da7eb2074 100644
--- a/sys/dev/microcode/adw/adwmcode.c
+++ b/sys/dev/microcode/adw/adwmcode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adwmcode.c,v 1.8 2017/09/08 05:36:52 deraadt Exp $ */
+/* $OpenBSD: adwmcode.c,v 1.9 2021/03/06 09:20:50 jsg Exp $ */
/* $NetBSD: adwmcode.c,v 1.5 2000/05/27 18:24:50 dante Exp $ */
/*
@@ -69,9 +69,7 @@
* Initialize a set of Carriers and add them to the free list.
*/
ADW_CARRIER *
-AdwInitCarriers(carr_dmap, carriers)
- bus_dmamap_t carr_dmap;
- ADW_CARRIER *carriers;
+AdwInitCarriers(bus_dmamap_t carr_dmap, ADW_CARRIER *carriers)
{
ADW_CARRIER *carr;
u_int32_t carr_next = 0;
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];