diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-02-03 17:43:26 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-02-03 17:43:26 +0000 |
commit | f5885de09aaf9d708088d6157e9eb29c8351f6ca (patch) | |
tree | 1d015006e881d77abb7322aab3bd4afcd80161b6 /usr.sbin/ldapd | |
parent | 66462d343df76307e0810df15379257777b153db (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.c | 4 |
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; |