From 348fa4567cf9326e4150c12741df705c31085a4c Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Tue, 1 Mar 2016 11:46:54 +0100 Subject: [PATCH] sensu: mark replace_str 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 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; -- 2.30.2