[number] Add static to hb-number-parser.hh functions
This commit is contained in:
parent
30e5cdfbf1
commit
4905a2198b
|
@ -97,7 +97,7 @@ static const int double_parser_en_main = 1;
|
||||||
|
|
||||||
|
|
||||||
/* Works only for n < 512 */
|
/* Works only for n < 512 */
|
||||||
inline double
|
static inline double
|
||||||
_pow10 (unsigned int exponent)
|
_pow10 (unsigned int exponent)
|
||||||
{
|
{
|
||||||
static const double _powers_of_10[] =
|
static const double _powers_of_10[] =
|
||||||
|
@ -119,7 +119,7 @@ _pow10 (unsigned int exponent)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline double
|
static inline double
|
||||||
strtod_rl (const char *buf, char **end_ptr)
|
strtod_rl (const char *buf, char **end_ptr)
|
||||||
{
|
{
|
||||||
const char *p, *pe;
|
const char *p, *pe;
|
||||||
|
|
|
@ -70,7 +70,7 @@ main := (
|
||||||
}%%
|
}%%
|
||||||
|
|
||||||
/* Works only for n < 512 */
|
/* Works only for n < 512 */
|
||||||
inline double
|
static inline double
|
||||||
_pow10 (unsigned int exponent)
|
_pow10 (unsigned int exponent)
|
||||||
{
|
{
|
||||||
static const double _powers_of_10[] =
|
static const double _powers_of_10[] =
|
||||||
|
@ -92,7 +92,7 @@ _pow10 (unsigned int exponent)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline double
|
static inline double
|
||||||
strtod_rl (const char *buf, char **end_ptr)
|
strtod_rl (const char *buf, char **end_ptr)
|
||||||
{
|
{
|
||||||
const char *p, *pe;
|
const char *p, *pe;
|
||||||
|
|
Loading…
Reference in New Issue