From 8795574510d8fa852755c26433ecd812f7c1f2e0 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 16 Jul 2013 23:15:41 +0000 Subject: * 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 --- st.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'st.c') 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; -- cgit v1.2.3