diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-09 02:53:55 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-09 02:53:55 +0000 |
commit | 074818f3b005d177c4265d25d31eeb11abd1ce83 (patch) | |
tree | a57b80c8e6b55d79c960d4ba46b81927676862ef | |
parent | 10c4a861ebcbf0190beaca91c015126b851e5023 (diff) |
* numeric.c (int_ord): remove K&R style.
patched by Daehyub Kim. https://github.com/ruby/ruby/pull/17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | numeric.c | 3 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Mon May 9 11:52:48 2011 NARUSE, Yui <[email protected]> + + * 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 <[email protected]> * test/ruby/test_{complex2,complexrational}.rb: use skip. @@ -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; } |