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
This commit is contained in:
Stuart Henderson 2023-09-05 14:28:06 +00:00 committed by GitHub
parent 10843805ac
commit ed00129866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}