summaryrefslogtreecommitdiff
path: root/usr.sbin/ldapd
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-02-03 17:43:26 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-02-03 17:43:26 +0000
commitf5885de09aaf9d708088d6157e9eb29c8351f6ca (patch)
tree1d015006e881d77abb7322aab3bd4afcd80161b6 /usr.sbin/ldapd
parent66462d343df76307e0810df15379257777b153db (diff)
Add void to conn_close_any()
This makes the function definition match the prototype and silences a clang-15 warning.
Diffstat (limited to 'usr.sbin/ldapd')
-rw-r--r--usr.sbin/ldapd/conn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldapd/conn.c b/usr.sbin/ldapd/conn.c
index adcd34aa9d0..0d3759d8f2d 100644
--- a/usr.sbin/ldapd/conn.c
+++ b/usr.sbin/ldapd/conn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conn.c,v 1.18 2019/10/24 12:39:26 tb Exp $ */
+/* $OpenBSD: conn.c,v 1.19 2023/02/03 17:43:25 tb Exp $ */
/*
* Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se>
@@ -343,7 +343,7 @@ conn_by_fd(int fd)
}
int
-conn_close_any()
+conn_close_any(void)
{
struct conn *conn;