artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a114beb
)
Add void to conn_close_any()
author
tb
<tb@openbsd.org>
Fri, 3 Feb 2023 17:43:25 +0000
(17:43 +0000)
committer
tb
<tb@openbsd.org>
Fri, 3 Feb 2023 17:43:25 +0000
(17:43 +0000)
This makes the function definition match the prototype and silences a
clang-15 warning.
usr.sbin/ldapd/conn.c
patch
|
blob
|
history
diff --git
a/usr.sbin/ldapd/conn.c
b/usr.sbin/ldapd/conn.c
index
adcd34a
..
0d3759d
100644
(file)
--- a/
usr.sbin/ldapd/conn.c
+++ b/
usr.sbin/ldapd/conn.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: conn.c,v 1.1
8 2019/10/24 12:39:26
tb Exp $ */
+/* $OpenBSD: conn.c,v 1.1
9 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;