From ed0012986648bf6c4a629586329033629ee28b06 Mon Sep 17 00:00:00 2001 From: Stuart Henderson Date: Tue, 5 Sep 2023 14:28:06 +0000 Subject: [PATCH] add void to log_ident_revert_to_default declaration Avoid warning from LLVM 16: util_log.c:190:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void log_ident_revert_to_default() ^ void --- util/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/log.c b/util/log.c index dfbb23349..a15ee920c 100644 --- a/util/log.c +++ b/util/log.c @@ -187,7 +187,7 @@ void log_ident_set_default(const char* id) default_ident = id; } -void log_ident_revert_to_default() +void log_ident_revert_to_default(void) { ident = default_ident; } -- 2.39.5