diff --git a/src/hb-number-parser.hh b/src/hb-number-parser.hh index 664a6d96b..c78c85097 100644 --- a/src/hb-number-parser.hh +++ b/src/hb-number-parser.hh @@ -97,7 +97,7 @@ static const int double_parser_en_main = 1; /* Works only for n < 512 */ -inline double +static inline double _pow10 (unsigned int exponent) { static const double _powers_of_10[] = @@ -119,7 +119,7 @@ _pow10 (unsigned int exponent) return result; } -inline double +static inline double strtod_rl (const char *buf, char **end_ptr) { const char *p, *pe; diff --git a/src/hb-number-parser.rl b/src/hb-number-parser.rl index e8b3346a8..8445fa22a 100644 --- a/src/hb-number-parser.rl +++ b/src/hb-number-parser.rl @@ -70,7 +70,7 @@ main := ( }%% /* Works only for n < 512 */ -inline double +static inline double _pow10 (unsigned int exponent) { static const double _powers_of_10[] = @@ -92,7 +92,7 @@ _pow10 (unsigned int exponent) return result; } -inline double +static inline double strtod_rl (const char *buf, char **end_ptr) { const char *p, *pe;