From 9e964f8d3e04bb95eeab32acf864b1d5698a93d7 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Tue, 1 Mar 2016 11:45:41 +0100 Subject: [PATCH] sensu: mark sensu_format_name2 as static Commit straight to 5.5, this plugin doesn'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 4d0e4737..2cb9e10d 100644 --- a/src/write_sensu.c +++ b/src/write_sensu.c @@ -259,7 +259,7 @@ static char *build_json_str_list(const char *tag, struct str_list const *list) / return ret_str; } /* }}} char *build_json_str_list*/ -int sensu_format_name2(char *ret, int ret_len, +static int sensu_format_name2(char *ret, int ret_len, const char *hostname, const char *plugin, const char *plugin_instance, const char *type, const char *type_instance, -- 2.30.2