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 /bignum.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 'bignum.c')
-rw-r--r-- | bignum.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -757,7 +757,9 @@ rb_big2str0(x, base, trim) } VALUE -rb_big2str(VALUE x, int base) +rb_big2str(x, base) + VALUE x; + int base; { return rb_big2str0(x, base, Qtrue); } @@ -1993,8 +1995,10 @@ rb_big_xor(xx, yy) return bignorm(z); } +static VALUE check_shiftdown _((VALUE, VALUE)); static VALUE -check_shiftdown(VALUE y, VALUE x) +check_shiftdown(y, x) + VALUE y, x; { if (!RBIGNUM(x)->len) return INT2FIX(0); if (RBIGNUM(y)->len > SIZEOF_LONG / SIZEOF_BDIGITS) { |