projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b788e9e
)
daemon: make function static
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 3 Apr 2018 19:56:55 +0000
(21:56 +0200)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 3 Apr 2018 19:56:55 +0000
(21:56 +0200)
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
patch
|
blob
|
history
diff --git
a/src/daemon/collectd.c
b/src/daemon/collectd.c
index
859cf91
..
50aecd9
100644
(file)
--- 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