From: Ruben Kerkhof Date: Tue, 1 Mar 2016 10:46:54 +0000 (+0100) Subject: sensu: mark replace_str as static X-Git-Tag: collectd-5.5.2~54 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=348fa4567cf9326e4150c12741df705c31085a4c;p=collectd.git sensu: mark replace_str 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 2cb9e10d..e19dbc50 100644 --- a/src/write_sensu.c +++ b/src/write_sensu.c @@ -551,7 +551,7 @@ static char *sensu_value_to_json(struct sensu_host const *host, /* {{{ */ * http://creativeandcritical.net/str-replace-c/ * copyright (c) Laird Shaw, under public domain. */ -char *replace_str(const char *str, const char *old, /* {{{ */ +static char *replace_str(const char *str, const char *old, /* {{{ */ const char *new) { char *ret, *r;