From 3fe2f2e62964e3ae8f5bedd2135b6cf4785a3445 Mon Sep 17 00:00:00 2001 From: tb Date: Fri, 3 Feb 2023 17:43:25 +0000 Subject: [PATCH] Add void to conn_close_any() This makes the function definition match the prototype and silences a clang-15 warning. --- usr.sbin/ldapd/conn.c | 4 ++-- 1 file 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 @@ -343,7 +343,7 @@ conn_by_fd(int fd) } int -conn_close_any() +conn_close_any(void) { struct conn *conn; -- 2.20.1