diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-23 12:07:23 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-23 12:07:23 +0000 |
commit | e8b0f17319d78b7435d84d7875d923117eebc37e (patch) | |
tree | e784769fdb709d56709599b9597070d065ef5eed /object.c | |
parent | 548027ef61c706a1459ab38c43482e1e333844a4 (diff) |
* array.c (ary_resize_capa): Remove an unused function.
* array.c, bignum.c, dir.c, enumerator.c, gc.c, io.c, numeric.c,
object.c, re.c, string.c, struct.c: Mixing two styles is not a
good thing. Stick with the K&R style in 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1239,7 +1239,8 @@ VALUE rb_proc_new _((VALUE (*)(ANYARGS/* VALUE yieldarg[, VALUE procarg] */), VA */ static VALUE -sym_to_proc(VALUE sym) +sym_to_proc(sym) + VALUE sym; { return rb_proc_new(sym_call, (VALUE)SYM2ID(sym)); } @@ -2285,7 +2286,9 @@ rb_to_integer(val, method) } VALUE -rb_check_to_integer(VALUE val, const char *method) +rb_check_to_integer(val, method) + VALUE val; + const char *method; { VALUE v; |