From f80394a20254938142011855f2954b3f63fe5909 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Tue, 15 Sep 2020 08:00:00 +0200 Subject: New upstream version 3.0.2 --- StringUtils.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'StringUtils.c') diff --git a/StringUtils.c b/StringUtils.c index d7058a2..e2386e3 100644 --- a/StringUtils.c +++ b/StringUtils.c @@ -14,18 +14,6 @@ in the source distribution for its full text. #include #include -/*{ -#include - -#define String_startsWith(s, match) (strncmp((s),(match),strlen(match)) == 0) -#define String_contains_i(s1, s2) (strcasestr(s1, s2) != NULL) -}*/ - -/* - * String_startsWith gives better performance if strlen(match) can be computed - * at compile time (e.g. when they are immutable string literals). :) - */ - char* String_cat(const char* s1, const char* s2) { int l1 = strlen(s1); int l2 = strlen(s2); -- cgit v1.2.3