From: Florian Forster Date: Thu, 24 Sep 2009 07:42:28 +0000 (+0200) Subject: netapp plugin: Make "config_init" static. X-Git-Tag: collectd-4.9.0~73^2~47 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9acdf7816371d97401a95d97eaa725aa196ffa4f;p=collectd.git netapp plugin: Make "config_init" static. --- diff --git a/src/netapp.c b/src/netapp.c index 9c7961a8..2a0418da 100644 --- a/src/netapp.c +++ b/src/netapp.c @@ -742,7 +742,7 @@ static void collect_perf_system_data(host_config_t *host, na_elem_t *out, void * } } /* }}} void collect_perf_system_data */ -int config_init() { +static int config_init(void) { /* {{{ */ char err[256]; na_elem_t *e; host_config_t *host; @@ -818,7 +818,7 @@ int config_init() { } } return 0; -} +} /* }}} int config_init */ static int config_bool_to_flag (const oconfig_item_t *ci, /* {{{ */ uint32_t *flags, uint32_t flag)