summaryrefslogtreecommitdiff
path: root/ext/bcmath
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bcmath')
-rw-r--r--ext/bcmath/bcmath.c4
-rw-r--r--ext/bcmath/php_bcmath.h2
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);