From: tb Date: Fri, 3 Feb 2023 17:43:25 +0000 (+0000) Subject: Add void to conn_close_any() X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3fe2f2e62964e3ae8f5bedd2135b6cf4785a3445;p=openbsd Add void to conn_close_any() This makes the function definition match the prototype and silences a clang-15 warning. --- 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 @@ -343,7 +343,7 @@ conn_by_fd(int fd) } int -conn_close_any() +conn_close_any(void) { struct conn *conn;