summaryrefslogtreecommitdiff
path: root/testapp.c
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-08-29 17:15:28 -0700
committerdormando <dormando@rydia.net>2022-10-13 16:45:23 -0700
commit0fca6e570802d18d0f4ef073ad8d90ad5522b4f0 (patch)
treeab25951ed44b6bdaf321fb50b1d2b873ada95c44 /testapp.c
parent1ba54b05a4a23d1acd85b5c14384ac8cbaed8478 (diff)
downloadmemcached-0fca6e570802d18d0f4ef073ad8d90ad5522b4f0.tar.gz
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 <raj.khem@gmail.com>
Diffstat (limited to 'testapp.c')
-rw-r--r--testapp.c2
1 files changed, 1 insertions, 1 deletions
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) {