revert until these functions are used.
authorEric Covener <covener@apache.org>
Sat, 21 Nov 2015 22:52:10 +0000 (22:52 +0000)
committerEric Covener <covener@apache.org>
Sat, 21 Nov 2015 22:52:10 +0000 (22:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715587 13f79535-47bb-0310-9956-ffa450edef68

server/util.c

index 19b3d8b11c8e4a041f2c0e06b7aa18e78ec01d9a..aafb68d961e7514a277d2492e69318685993f633 100644 (file)
@@ -3172,7 +3172,6 @@ AP_DECLARE(int) ap_array_str_contains(const apr_array_header_t *array,
     return (ap_array_str_index(array, s, 0) >= 0);
 }
 
-#if !APR_CHARSET_EBCDIC
 /*
  * Provide our own known-fast implementation of str[n]casecmp()
  * NOTE: ASCII only!
@@ -3239,14 +3238,3 @@ AP_DECLARE(int) ap_strncasecmp(const char *s1, const char *s2, apr_size_t n)
     }
     return (0);
 }
-#else
-AP_DECLARE(int) ap_strcasecmp(const char *s1, const char *s2)
-{
-  return strcasecmp(s1, s2);
-}
-
-AP_DECLARE(int) ap_strncasecmp(const char *s1, const char *s2, apr_size_t n)
-{
-  return strncasecmp(s1, s2, n);
-}
-#endif /*APR_CHARSET_EBCDIC*/