From: Ruben Kerkhof Date: Tue, 1 Mar 2016 10:45:41 +0000 (+0100) Subject: sensu: mark sensu_format_name2 as static X-Git-Tag: collectd-5.5.2~55 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9e964f8d3e04bb95eeab32acf864b1d5698a93d7;p=collectd.git sensu: mark sensu_format_name2 as static Commit straight to 5.5, this plugin doesn't exist in 5.4 --- 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,