[number] Add static to hb-number-parser.hh functions

This commit is contained in:
Ebrahim Byagowi 2019-09-09 12:36:12 +04:30
parent 30e5cdfbf1
commit 4905a2198b
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;