diff options
Diffstat (limited to 'lib/util/util_str.c')
-rw-r--r-- | lib/util/util_str.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/util/util_str.c b/lib/util/util_str.c index 7fa531f0e4..cf1b07ff0f 100644 --- a/lib/util/util_str.c +++ b/lib/util/util_str.c @@ -249,13 +249,3 @@ _PUBLIC_ bool strequal(const char *s1, const char *s2) return strcasecmp(s1,s2) == 0; } -/** - String replace. -**/ -_PUBLIC_ void string_replace(char *s, char oldc, char newc) -{ - while (*s) { - if (*s == oldc) *s = newc; - s++; - } -} |