summaryrefslogtreecommitdiff
path: root/ext/bcmath/php_bcmath.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-11-18 02:59:31 +0000
committerZeev Suraski <zeev@php.net>2000-11-18 02:59:31 +0000
commit66c667c9741fe839f283848c89d7e4c454fd12bf (patch)
tree36738115b505995b90abe6a91a9ebb624a944b85 /ext/bcmath/php_bcmath.h
parent030b707296e98813cecb75dba46eca0fa56ef8c8 (diff)
downloadphp-git-66c667c9741fe839f283848c89d7e4c454fd12bf.tar.gz
Fix thread-safety bug in bcmath
Diffstat (limited to 'ext/bcmath/php_bcmath.h')
-rw-r--r--ext/bcmath/php_bcmath.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/bcmath/php_bcmath.h b/ext/bcmath/php_bcmath.h
index df7512d842..724484743a 100644
--- a/ext/bcmath/php_bcmath.h
+++ b/ext/bcmath/php_bcmath.h
@@ -26,8 +26,9 @@
extern zend_module_entry bcmath_module_entry;
#define phpext_bcmath_ptr &bcmath_module_entry
-extern PHP_RINIT_FUNCTION(bcmath);
-extern PHP_RSHUTDOWN_FUNCTION(bcmath);
+PHP_MINIT_FUNCTION(bcmath);
+PHP_MSHUTDOWN_FUNCTION(bcmath);
+PHP_RINIT_FUNCTION(bcmath);
PHP_MINFO_FUNCTION(bcmath);
PHP_FUNCTION(bcadd);