projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e790264
)
write_sensu: mark vasprintf as static
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 1 Mar 2016 11:10:40 +0000
(12:10 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Tue, 1 Mar 2016 11:10:40 +0000
(12:10 +0100)
Commit straight 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
e19dbc5
..
1956458
100644
(file)
--- a/
src/write_sensu.c
+++ b/
src/write_sensu.c
@@
-47,7
+47,7
@@
#include <stdio.h>
#include <stdarg.h>
-int vasprintf(char **str, const char *fmt, va_list args) {
+
static
int vasprintf(char **str, const char *fmt, va_list args) {
int size = 0;
va_list tmpa;
// copy