From: tb Date: Wed, 8 Feb 2023 08:03:11 +0000 (+0000) Subject: isakmpd: add missing void to a function definition X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ff9f425c2bdebe956f8fce43c085b69af60129ec;p=openbsd isakmpd: add missing void to a function definition Fixes -Wstrict-prototype warning seen with clang 15 on amd64 and arm64. --- 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];