summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-03 15:41:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-03 15:41:31 +0000
commitb3be3c29c47fd9b570e5649bdf46d1a8f08aa3a0 (patch)
treed25763e5001671da20c1d8a688279d4d74f8d64d /bignum.c
parentcb51608767fbbfd2e602525d7b3f264a13af88da (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index 01c13094ab..a3e4a0be91 100644
--- a/bignum.c
+++ b/bignum.c
@@ -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)