From: Stuart Henderson Date: Tue, 5 Sep 2023 14:28:06 +0000 (+0000) Subject: add void to log_ident_revert_to_default declaration X-Git-Tag: release-1.19.0rc1~7^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F930%2Fhead;p=thirdparty%2Funbound.git 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 --- 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; }