From ff9f425c2bdebe956f8fce43c085b69af60129ec Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 8 Feb 2023 08:03:11 +0000 Subject: [PATCH] isakmpd: add missing void to a function definition Fixes -Wstrict-prototype warning seen with clang 15 on amd64 and arm64. --- sbin/isakmpd/monitor.c | 4 ++-- 1 file 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]; -- 2.20.1