summaryrefslogtreecommitdiff
path: root/numeric.c
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 /numeric.c
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
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c3
1 files changed, 1 insertions, 2 deletions
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;
}