write_sensu: mark vasprintf as static
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 1 Mar 2016 11:10:40 +0000 (12:10 +0100)
committerRuben 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

index e19dbc5..1956458 100644 (file)
@@ -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