aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-16 23:15:41 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-16 23:15:41 +0000
commit8795574510d8fa852755c26433ecd812f7c1f2e0 (patch)
treeb480c58081307aa57ea2e34c84c35117fb6788a0 /st.c
parentadba373c7f565c5a0d878b219506af594070eb74 (diff)
downloadruby-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/st.c b/st.c
index e86171927b..6e3df628a7 100644
--- a/st.c
+++ b/st.c
@@ -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;