Code

sensu: mark sensu_format_name2 as static
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 1 Mar 2016 10:45:41 +0000 (11:45 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 1 Mar 2016 10:46:33 +0000 (11:46 +0100)
Commit straight to 5.5, this plugin doesn't exist in 5.4

src/write_sensu.c

index 4d0e473757174e7bdf79b9662bbd258fa049355f..2cb9e10d5d5b4e2c26db817401ee637cc2c90a87 100644 (file)
@@ -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,