From: Ruben Kerkhof Date: Tue, 1 Mar 2016 11:11:16 +0000 (+0100) Subject: write_sensu: mark asprintf as static X-Git-Tag: collectd-5.5.2~46 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=383173f48def3adc882710b6ceeacd87c7b635c6;p=collectd.git write_sensu: mark asprintf as static Commit straigh to 5.5. This plugin didn't exist in 5.4. --- diff --git a/src/write_sensu.c b/src/write_sensu.c index 1956458c..29e7a402 100644 --- 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