summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-06 01:01:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-06 01:01:52 +0000
commitd7f2c723228b02be0a7320d7af15713b3cf62176 (patch)
tree467d610400af6626bffd22050205e426aaeebb9f
parent4566365d51ef67bfd8b7ca039c017b6b88726387 (diff)
string.c: fix types
* string.c (id_normalize, id_normalized_p): fix types, IDs should be ID. * string.c (unicode_normalize_common): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--string.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/string.c b/string.c
index eda24527161..1ab89bda552 100644
--- a/string.c
+++ b/string.c
@@ -9584,12 +9584,12 @@ str_scrub_bang(int argc, VALUE *argv, VALUE str)
return str;
}
-static VALUE id_normalize;
-static VALUE id_normalized_p;
+static ID id_normalize;
+static ID id_normalized_p;
static VALUE mUnicodeNormalize;
static VALUE
-unicode_normalize_common(int argc, VALUE *argv, VALUE str, VALUE id)
+unicode_normalize_common(int argc, VALUE *argv, VALUE str, ID id)
{
static int UnicodeNormalizeRequired = 0;