From: Eric Covener Date: Sat, 21 Nov 2015 22:52:10 +0000 (+0000) Subject: revert until these functions are used. X-Git-Tag: 2.5.0-alpha~2608 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6a504c52dc1f06ad7afe5e96f6abd3184ec021b;p=apache revert until these functions are used. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715587 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util.c b/server/util.c index 19b3d8b11c..aafb68d961 100644 --- a/server/util.c +++ b/server/util.c @@ -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*/