From: Ruben Kerkhof Date: Tue, 3 Apr 2018 19:56:55 +0000 (+0200) Subject: daemon: make function static X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=35fee083db033384a7fa829cb01654799425c4a3;p=collectd.git daemon: make function static Fixes the following build warning: src/daemon/collectd.c:499:5: warning: no previous prototype for function 'configure_collectd' [-Wmissing-prototypes] int configure_collectd(struct cmdline_config *config) { ^ --- diff --git a/src/daemon/collectd.c b/src/daemon/collectd.c index 859cf910..50aecd93 100644 --- a/src/daemon/collectd.c +++ b/src/daemon/collectd.c @@ -496,7 +496,7 @@ static void read_cmdline(int argc, char **argv, struct cmdline_config *config) { } /* while (1) */ } -int configure_collectd(struct cmdline_config *config) { +static int configure_collectd(struct cmdline_config *config) { const char *basedir; /* * Read options from the config file, the environment and the command