projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94d84b7
)
write_sensu: mark asprintf as static
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 1 Mar 2016 11:11:16 +0000
(12:11 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 1 Mar 2016 11:11:16 +0000
(12:11 +0100)
Commit straigh to 5.5. This plugin didn't exist in 5.4.
src/write_sensu.c
patch
|
blob
|
history
diff --git
a/src/write_sensu.c
b/src/write_sensu.c
index
1956458
..
29e7a40
100644
(file)
--- a/
src/write_sensu.c
+++ b/
src/write_sensu.c
@@
-71,7
+71,7
@@
static int vasprintf(char **str, const char *fmt, va_list args) {
return size;
}
-int asprintf(char **str, const char *fmt, ...) {
+
static
int asprintf(char **str, const char *fmt, ...) {
int size = 0;
va_list args;
// init variadic argumens