From b3be3c29c47fd9b570e5649bdf46d1a8f08aa3a0 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 3 Aug 2013 15:41:31 +0000 Subject: [PATCH] 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 --- bignum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)