Everywhere: void arguments to C functions

Problem:
- C functions with no arguments require a single `void` in the argument list.

Solution:
- Put the `void` in the argument list of functions in C header files.
This commit is contained in:
Lenny Maiorani 2020-12-24 08:41:54 -07:00 committed by Andreas Kling
commit b2316701a8
Notes: sideshowbarker 2024-07-19 00:35:40 +09:00
14 changed files with 29 additions and 29 deletions

View file

@ -94,7 +94,7 @@ void closelog_r(struct syslog_data* data)
data->maskpri = LOG_UPTO(LOG_DEBUG);
}
void closelog()
void closelog(void)
{
closelog_r(&global_log_data);
}