From eb07137bec72128a622e4deead841d8733a0f0e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Fri, 19 Jun 2015 12:51:07 +0200 Subject: [PATCH] main: fix a compiler warning about function declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 71c8f0d5c1..b7eae807dd 100644 --- a/src/main.c +++ b/src/main.c @@ -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