From 383173f48def3adc882710b6ceeacd87c7b635c6 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Tue, 1 Mar 2016 12:11:16 +0100 Subject: [PATCH] write_sensu: mark asprintf as static Commit straigh to 5.5. This plugin didn't exist in 5.4. --- src/write_sensu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2