From 0fca6e570802d18d0f4ef073ad8d90ad5522b4f0 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 29 Aug 2022 17:15:28 -0700 Subject: Fix function protypes for clang errors clang-15+ has started diagnosing them as errors thread.c:925:18: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] | void STATS_UNLOCK() { | ^ | void Signed-off-by: Khem Raj --- testapp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testapp.c') diff --git a/testapp.c b/testapp.c index 5face54..387a847 100644 --- a/testapp.c +++ b/testapp.c @@ -80,7 +80,7 @@ static struct conn *con = NULL; static bool allow_closed_read = false; static bool enable_ssl = false; -static void close_conn() { +static void close_conn(void) { if (con == NULL) return; #ifdef TLS if (con->ssl) { -- cgit v1.2.1