summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-02-08 08:03:12 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-02-08 08:03:12 +0000
commit6f5daee9ca6b25e1d0d773d5b5ebca66e64c35cb (patch)
tree8e8d71b21381cfd26e2ee263e438d5db0842ebb4 /sbin/isakmpd
parent0a1b32b5eafaa4646d15792f2c64c3c7969e35eb (diff)
isakmpd: add missing void to a function definition
Fixes -Wstrict-prototype warning seen with clang 15 on amd64 and arm64.
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/monitor.c b/sbin/isakmpd/monitor.c
index 3714cc37723..87b50aba1af 100644
--- a/sbin/isakmpd/monitor.c
+++ b/sbin/isakmpd/monitor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor.c,v 1.82 2021/10/24 21:24:21 deraadt Exp $ */
+/* $OpenBSD: monitor.c,v 1.83 2023/02/08 08:03:11 tb Exp $ */
/*
* Copyright (c) 2003 Håkan Olsson. All rights reserved.
@@ -820,7 +820,7 @@ m_priv_check_bind(const struct sockaddr *sa, socklen_t salen)
}
static void
-m_priv_req_readdir()
+m_priv_req_readdir(void)
{
size_t len;
char path[PATH_MAX];