diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-03 15:41:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-03 15:41:31 +0000 |
commit | b3be3c29c47fd9b570e5649bdf46d1a8f08aa3a0 (patch) | |
tree | d25763e5001671da20c1d8a688279d4d74f8d64d /bignum.c | |
parent | cb51608767fbbfd2e602525d7b3f264a13af88da (diff) |
bignum.c: suppress warnings
* bignum.c (power_cache_get_power): declare as inline before call to
suppress warnings from gcc 4.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -141,7 +141,7 @@ static inline VALUE bigtrunc(VALUE x); static VALUE bigsq(VALUE x); static void bigdivmod(VALUE x, VALUE y, volatile VALUE *divp, volatile VALUE *modp); -static VALUE power_cache_get_power(int base, int power_level, size_t *numdigits_ret); +static inline VALUE power_cache_get_power(int base, int power_level, size_t *numdigits_ret); static int nlz16(uint16_t x) |