diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-25 21:35:39 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-25 21:35:39 +0000 |
commit | 2709170e965fafff06a8dcebf16d3b2f0f3aac5e (patch) | |
tree | c73ec66610f5634e2c89f445e40cdb11ce52e7c8 | |
parent | b4843d9a52afe08b3c52db1918347ad57ffd458d (diff) |
* localeinit.c (rb_locale_charmap_index): fix prototype. [Bug #12118]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | localeinit.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Sat Mar 26 06:34:24 2016 NARUSE, Yui <[email protected]> + + * localeinit.c (rb_locale_charmap_index): fix prototype. [Bug #12118] + Fri Mar 25 16:40:48 2016 Martin Duerst <[email protected]> * test/ruby/enc/test_case_mapping.rb: Additional tests title case; diff --git a/localeinit.c b/localeinit.c index c4dda819b7..6563a6f90a 100644 --- a/localeinit.c +++ b/localeinit.c @@ -89,7 +89,7 @@ enc_find_index(const char *name) } int -rb_locale_charmap_index(VALUE klass) +rb_locale_charmap_index(void) { return (int)locale_charmap(enc_find_index); } |