summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9e964f8)
raw | patch | inline | side by side (parent: 9e964f8)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Tue, 1 Mar 2016 10:46:54 +0000 (11:46 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Tue, 1 Mar 2016 10:46:54 +0000 (11:46 +0100) |
Commit straight to 5.5. This plugin doesn't exist in 5.4
src/write_sensu.c | patch | blob | history |
diff --git a/src/write_sensu.c b/src/write_sensu.c
index 2cb9e10d5d5b4e2c26db817401ee637cc2c90a87..e19dbc50039328f2a56946c0210045bab2e949fc 100644 (file)
--- a/src/write_sensu.c
+++ b/src/write_sensu.c
* 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;