summaryrefslogtreecommitdiff
path: root/ext/standard/formatted_print.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-18 04:01:20 +0000
committerZeev Suraski <zeev@php.net>1999-12-18 04:01:20 +0000
commit3ee4e65c95fa8eb5366569a22ffd6e09ce9741f1 (patch)
tree20bbcd96e0f6c1483c87a00273bcdc1ec94a097a /ext/standard/formatted_print.c
parent8a581c3536e1c4fab7ecfa4e1c044d3e5ebc5ab2 (diff)
downloadphp-git-3ee4e65c95fa8eb5366569a22ffd6e09ce9741f1.tar.gz
More php3_ annihilation
Diffstat (limited to 'ext/standard/formatted_print.c')
-rw-r--r--ext/standard/formatted_print.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ext/standard/formatted_print.c b/ext/standard/formatted_print.c
index f6b9600a1e..270c6520ed 100644
--- a/ext/standard/formatted_print.c
+++ b/ext/standard/formatted_print.c
@@ -53,13 +53,12 @@ static char HEXCHARS[] = "0123456789ABCDEF";
*/
/*
- * _php3_cvt converts to decimal
+ * php_convert_to_decimal converts to decimal
* the number of digits is specified by ndigit
* decpt is set to the position of the decimal point
* sign is set to 0 for positive, 1 for negative
*/
-static char *
-_php3_cvt(double arg, int ndigits, int *decpt, int *sign, int eflag)
+static char *php_convert_to_decimal(double arg, int ndigits, int *decpt, int *sign, int eflag)
{
register int r2;
double fi, fj;
@@ -246,7 +245,7 @@ php_sprintf_appenddouble(char **buffer, int *pos,
} else if (precision > MAX_FLOAT_PRECISION) {
precision = MAX_FLOAT_PRECISION;
}
- cvt = _php3_cvt(number, precision, &decpt, &sign, (fmt == 'e'));
+ cvt = php_convert_to_decimal(number, precision, &decpt, &sign, (fmt == 'e'));
if (sign) {
numbuf[i++] = '-';