main: fix a compiler warning about function declaration

warning: function declaration isn’t a prototype [-Wstrict-prototypes]

In C function() and function(void) are two different prototypes (as opposed to
C++).
function()     accepts an arbitrary number of arguments
function(void) accepts zero arguments
This commit is contained in:
Jiří Klimeš 2015-06-19 12:51:07 +02:00
parent 713065b880
commit eb07137bec

View file

@ -209,7 +209,7 @@ _init_nm_debug (const char *debug)
}
void
nm_main_config_reload ()
nm_main_config_reload (void)
{
nm_log_info (LOGD_CORE, "reload configuration...");
/* The signal handler thread is only installed after