projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5b5db7
)
netapp plugin: Make "config_init" static.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Thu, 24 Sep 2009 07:42:28 +0000
(09:42 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Thu, 24 Sep 2009 07:42:28 +0000
(09:42 +0200)
src/netapp.c
patch
|
blob
|
history
diff --git
a/src/netapp.c
b/src/netapp.c
index
9c7961a
..
2a0418d
100644
(file)
--- 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)