diff options
author | Yann Ylavic <ylavic@apache.org> | 2015-11-23 09:36:35 +0100 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2015-11-23 09:36:35 +0100 |
commit | 7ebe2d558b0a4b4490194f926db727f81de36a92 (patch) | |
tree | cfa3524e1a1559c225187f42929da8d6dd13fdfa /server/util.c | |
parent | Introduce an ascii-like sortation for EBCDIC, case folding US-ASCII alpha only (diff) | |
download | apache2-7ebe2d558b0a4b4490194f926db727f81de36a92.tar.xz apache2-7ebe2d558b0a4b4490194f926db727f81de36a92.zip |
Before they are used, rename ap_str[n]casecmp() to ap_casecmpstr[n]() to match
what will probably be their APR names, avoiding any confusion wrt <strings.h>'s
functions (semantic).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715736 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/util.c')
-rw-r--r-- | server/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/util.c b/server/util.c index f1215884b9..c4316c7bfb 100644 --- a/server/util.c +++ b/server/util.c @@ -3259,7 +3259,7 @@ static const unsigned char ucharmap[] = { }; #endif -AP_DECLARE(int) ap_strcasecmp(const char *s1, const char *s2) +AP_DECLARE(int) ap_casecmpstr(const char *s1, const char *s2) { const unsigned char *ps1 = (const unsigned char *) s1; const unsigned char *ps2 = (const unsigned char *) s2; @@ -3272,7 +3272,7 @@ AP_DECLARE(int) ap_strcasecmp(const char *s1, const char *s2) return (ucharmap[*ps1] - ucharmap[*--ps2]); } -AP_DECLARE(int) ap_strncasecmp(const char *s1, const char *s2, apr_size_t n) +AP_DECLARE(int) ap_casecmpstrn(const char *s1, const char *s2, apr_size_t n) { const unsigned char *ps1 = (const unsigned char *) s1; const unsigned char *ps2 = (const unsigned char *) s2; |