diff options
-rw-r--r-- | ext/standard/math.c | 5 | ||||
-rw-r--r-- | ext/standard/php_math.h | 3 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c index 57a5de0796..1fea12d7d7 100644 --- a/ext/standard/math.c +++ b/ext/standard/math.c @@ -31,9 +31,6 @@ #define M_PI 3.14159265358979323846 #endif - -char *_php_math_number_format(double, int, char , char); - /* {{{ proto int abs(int number) Return the absolute value of the number */ @@ -977,7 +974,7 @@ PHP_FUNCTION(base_convert) /* }}} */ /* {{{ _php_math_number_format */ -char *_php_math_number_format(double d, int dec, char dec_point, char thousand_sep) +PHPAPI char *_php_math_number_format(double d, int dec, char dec_point, char thousand_sep) { char *tmpbuf, *resbuf; char *s, *t; /* source, target */ diff --git a/ext/standard/php_math.h b/ext/standard/php_math.h index beef7dd160..07160c274d 100644 --- a/ext/standard/php_math.h +++ b/ext/standard/php_math.h @@ -21,6 +21,9 @@ #ifndef PHP_MATH_H #define PHP_MATH_H + +PHPAPI char *_php_math_number_format(double, int, char , char); + PHP_FUNCTION(sin); PHP_FUNCTION(cos); PHP_FUNCTION(tan); |