From 35fee083db033384a7fa829cb01654799425c4a3 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Tue, 3 Apr 2018 21:56:55 +0200 Subject: [PATCH] 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) { ^ --- src/daemon/collectd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0