diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-16 23:15:41 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-16 23:15:41 +0000 |
commit | 8795574510d8fa852755c26433ecd812f7c1f2e0 (patch) | |
tree | b480c58081307aa57ea2e34c84c35117fb6788a0 /st.c | |
parent | adba373c7f565c5a0d878b219506af594070eb74 (diff) | |
download | ruby-8795574510d8fa852755c26433ecd812f7c1f2e0.tar.gz |
* st.c (st_locale_insensitive_strcasecmp): Renamed from st_strcasecmp.
(st_locale_insensitive_strncasecmp): Renamed from st_strncasecmp.
* include/ruby/st.h: Follow above changes.
* include/ruby/ruby.h: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -67,7 +67,7 @@ static const struct st_hash_type type_strhash = { static st_index_t strcasehash(st_data_t); static const struct st_hash_type type_strcasehash = { - st_strcasecmp, + st_locale_insensitive_strcasecmp, strcasehash, }; @@ -1525,7 +1525,7 @@ strhash(st_data_t arg) #endif int -st_strcasecmp(const char *s1, const char *s2) +st_locale_insensitive_strcasecmp(const char *s1, const char *s2) { unsigned int c1, c2; @@ -1549,7 +1549,7 @@ st_strcasecmp(const char *s1, const char *s2) } int -st_strncasecmp(const char *s1, const char *s2, size_t n) +st_locale_insensitive_strncasecmp(const char *s1, const char *s2, size_t n) { unsigned int c1, c2; |