summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-09 02:53:55 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-09 02:53:55 +0000
commit074818f3b005d177c4265d25d31eeb11abd1ce83 (patch)
treea57b80c8e6b55d79c960d4ba46b81927676862ef
parent10c4a861ebcbf0190beaca91c015126b851e5023 (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--ChangeLog5
-rw-r--r--numeric.c3
2 files changed, 6 insertions, 2 deletions
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 <naruse@ruby-lang.org>
+
+ * 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 <tadf@dotrb.org>
* 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;
}