netapp plugin: Make "config_init" static.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 24 Sep 2009 07:42:28 +0000 (09:42 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Thu, 24 Sep 2009 07:42:28 +0000 (09:42 +0200)
src/netapp.c

index 9c7961a..2a0418d 100644 (file)
@@ -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)