From dbbc677985e3a853f2e52b8a9d09660d3fa6d983 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 26 May 2014 16:10:33 -0700 Subject: Remove unused uStrCasePrefix fallback for strncasecmp Signed-off-by: Alan Coopersmith --- utils.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'utils.h') diff --git a/utils.h b/utils.h index 36288f7..4bf5825 100644 --- a/utils.h +++ b/utils.h @@ -120,13 +120,9 @@ extern void uInternalError(const char *s, ...); #define uStrCaseEqual(s1,s2) (uStrCaseCmp(s1,s2)==0) #ifdef HAVE_STRCASECMP #define uStrCaseCmp(s1,s2) (strcasecmp(s1,s2)) -#define uStrCasePrefix(p,s) (strncasecmp(p,s,strlen(p))==0) #else extern int uStrCaseCmp(const char * /* s1 */ , const char * /* s2 */); - -extern int uStrCasePrefix(const char * /* p */ , - const char * /* str */); #endif #ifdef HAVE_STRDUP #define uStringDup(s1) (strdup(s1)) -- cgit v1.2.3