summaryrefslogtreecommitdiff
path: root/ext/standard/math.c
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2000-10-27 20:26:16 +0000
committerFrank M. Kromann <fmk@php.net>2000-10-27 20:26:16 +0000
commitd313ad8bf5a0a2712c6ae1f52f259ecad9bbf17d (patch)
treea2c57fdabee8ec55002480ee3ee7f93710ee2ffd /ext/standard/math.c
parente252d77d5fcc1c7bffcb6dddc454947bb143387c (diff)
downloadphp-git-d313ad8bf5a0a2712c6ae1f52f259ecad9bbf17d.tar.gz
Making _php_math_longtobase() and _php_math_basetolong() callable from DLL and SO modules
Diffstat (limited to 'ext/standard/math.c')
-rw-r--r--ext/standard/math.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/math.c b/ext/standard/math.c
index 0fb3d3cf32..e6ee1fd03d 100644
--- a/ext/standard/math.c
+++ b/ext/standard/math.c
@@ -390,7 +390,7 @@ PHP_FUNCTION(rad2deg)
/*
* Convert a string representation of a base(2-36) number to a long.
*/
-static long
+PHPAPI long
_php_math_basetolong(zval *arg, int base) {
long mult = 1, num = 0, digit;
int i;
@@ -427,7 +427,7 @@ _php_math_basetolong(zval *arg, int base) {
* Convert a long to a string containing a base(2-36) representation of
* the number.
*/
-static char *
+PHPAPI char *
_php_math_longtobase(zval *arg, int base)
{
static char digits[] = "0123456789abcdefghijklmnopqrstuvwxyz";