diff options
author | Zeev Suraski <zeev@php.net> | 1999-12-17 20:55:31 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-12-17 20:55:31 +0000 |
commit | fb1c77bd4f8a636ba47d720f8ca65fc6baae836d (patch) | |
tree | 1be0390e76d422f7abc36f577178f9683536fa84 /ext/bcmath | |
parent | 71dddd7db7e768ae8145e085fcbb6b6db4a1c40a (diff) | |
download | php-git-fb1c77bd4f8a636ba47d720f8ca65fc6baae836d.tar.gz |
- Made PHP_VERSION and PHP_OS work again
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
Diffstat (limited to 'ext/bcmath')
-rw-r--r-- | ext/bcmath/bcmath.c | 4 | ||||
-rw-r--r-- | ext/bcmath/php_bcmath.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/bcmath/bcmath.c b/ext/bcmath/bcmath.c index e39f602445..5f1b1e71e9 100644 --- a/ext/bcmath/bcmath.c +++ b/ext/bcmath/bcmath.c @@ -36,12 +36,12 @@ function_entry bcmath_functions[] = { {NULL, NULL, NULL} }; -php3_module_entry bcmath_module_entry = { +zend_module_entry bcmath_module_entry = { "bcmath", bcmath_functions, NULL, NULL, PHP_RINIT(bcmath), PHP_RSHUTDOWN(bcmath), NULL, STANDARD_MODULE_PROPERTIES }; #if COMPILE_DL -php3_module_entry *get_module() { return &bcmath_module_entry; }; +zend_module_entry *get_module() { return &bcmath_module_entry; }; #endif #ifndef THREAD_SAFE diff --git a/ext/bcmath/php_bcmath.h b/ext/bcmath/php_bcmath.h index 397ff03dd5..f9be3f53b1 100644 --- a/ext/bcmath/php_bcmath.h +++ b/ext/bcmath/php_bcmath.h @@ -40,7 +40,7 @@ #if WITH_BCMATH -extern php3_module_entry bcmath_module_entry; +extern zend_module_entry bcmath_module_entry; #define phpext_bcmath_ptr &bcmath_module_entry extern PHP_RINIT_FUNCTION(bcmath); |