summaryrefslogtreecommitdiff
path: root/ext/standard/math.c
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2001-12-03 05:12:48 +0000
committerFrank M. Kromann <fmk@php.net>2001-12-03 05:12:48 +0000
commit8e408647706dc5d2c9fa37bd31fade731723a3d1 (patch)
treed412f6a9385fb54cdc1f9c8f511763bb3ec6378e /ext/standard/math.c
parentc07cf5c2a5ce32a6f371e1beb914611e85d92cd6 (diff)
downloadphp-git-8e408647706dc5d2c9fa37bd31fade731723a3d1.tar.gz
Make _php_math_number_format available from shared extensions
Diffstat (limited to 'ext/standard/math.c')
-rw-r--r--ext/standard/math.c5
1 files changed, 1 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 */