diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2013-12-12 20:30:45 +0100 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2013-12-12 20:30:45 +0100 |
commit | 0fc8e6af0a0ff8eeb15746978ce1e6009ed76f11 (patch) | |
tree | bd08220ec12315805e9d963667c8b91736099dd3 /Zend/zend_API.h | |
parent | 4411641b1eba09fa8afe5b38af9be2ba49a51db4 (diff) | |
download | php-git-0fc8e6af0a0ff8eeb15746978ce1e6009ed76f11.tar.gz |
Eliminate another straight forward TSRMLS_FETCH() in zend_startup_module()
# For THTTPD:
# The code that uses a call to this function is for older versions of PHP anyway so its not covered
# For Zend OpCache:
# Added a new define for 5.6 and wrapped the code around that so its still compatible with older version
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r-- | Zend/zend_API.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h index 007d989609..c426acf497 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -266,7 +266,7 @@ ZEND_API int zend_parse_parameter(int flags, int arg_num TSRMLS_DC, zval **arg, ZEND_API int zend_register_functions(zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type TSRMLS_DC); ZEND_API void zend_unregister_functions(const zend_function_entry *functions, int count, HashTable *function_table TSRMLS_DC); -ZEND_API int zend_startup_module(zend_module_entry *module_entry); +ZEND_API int zend_startup_module(zend_module_entry *module_entry TSRMLS_DC); ZEND_API zend_module_entry* zend_register_internal_module(zend_module_entry *module_entry TSRMLS_DC); ZEND_API zend_module_entry* zend_register_module_ex(zend_module_entry *module TSRMLS_DC); ZEND_API int zend_startup_module_ex(zend_module_entry *module TSRMLS_DC); |