diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-05-26 16:10:33 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-05-26 16:10:33 -0700 |
commit | dbbc677985e3a853f2e52b8a9d09660d3fa6d983 (patch) | |
tree | 0e7ed2fce21f53a4373b9ecebd8821cb868988aa /utils.h | |
parent | 7ca2572623fee8db916eff668ef3c852f2ce124a (diff) |
Remove unused uStrCasePrefix fallback for strncasecmp
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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)) |