From: Ruben Kerkhof Date: Tue, 1 Mar 2016 11:10:40 +0000 (+0100) Subject: write_sensu: mark vasprintf as static X-Git-Tag: collectd-5.5.2~47 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=94d84b7b773e9d140b81699d1d42a9e461a5b76d;p=collectd.git write_sensu: mark vasprintf as static Commit straight to 5.5. This plugin didn't exist in 5.4 --- diff --git a/src/write_sensu.c b/src/write_sensu.c index e19dbc50..1956458c 100644 --- a/src/write_sensu.c +++ b/src/write_sensu.c @@ -47,7 +47,7 @@ #include #include -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