diff --git a/ChangeLog b/ChangeLog index ee34e1d658..312c64fa13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon May 9 11:52:48 2011 NARUSE, Yui + + * numeric.c (int_ord): remove K&R style. + patched by Daehyub Kim. https://github.com/ruby/ruby/pull/17 + Sun May 8 22:17:24 2011 Tadayoshi Funaba * test/ruby/test_{complex2,complexrational}.rb: use skip. diff --git a/numeric.c b/numeric.c index 35f3bd3ef4..508360159c 100644 --- a/numeric.c +++ b/numeric.c @@ -2182,8 +2182,7 @@ int_chr(int argc, VALUE *argv, VALUE num) */ static VALUE -int_ord(num) - VALUE num; +int_ord(VALUE num) { return num; }