diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2013-12-18 09:32:26 +0100 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2013-12-18 09:32:26 +0100 |
commit | aed4b086acaa50318b3e91146a35a9af6f46e11d (patch) | |
tree | 90bbc596c33ee84e06d53786ec0338a91df506f6 /ext | |
parent | c83598119be083b572e92af292e9e9faa98d8d85 (diff) | |
download | php-git-aed4b086acaa50318b3e91146a35a9af6f46e11d.tar.gz |
Eliminate the TSRMLS_FETCH() calls in the ticks functions and hook
Diffstat (limited to 'ext')
-rw-r--r-- | ext/pcntl/pcntl.c | 2 | ||||
-rw-r--r-- | ext/standard/basic_functions.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c index b66f4722e8..8dfb254cf9 100644 --- a/ext/pcntl/pcntl.c +++ b/ext/pcntl/pcntl.c @@ -499,7 +499,7 @@ PHP_MINIT_FUNCTION(pcntl) { php_register_signal_constants(INIT_FUNC_ARGS_PASSTHRU); php_pcntl_register_errno_constants(INIT_FUNC_ARGS_PASSTHRU); - php_add_tick_function(pcntl_signal_dispatch); + php_add_tick_function(pcntl_signal_dispatch TSRMLS_CC); return SUCCESS; } diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index f55925f315..33f13649cc 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -5751,7 +5751,7 @@ PHP_FUNCTION(register_tick_function) zend_llist_init(BG(user_tick_functions), sizeof(user_tick_function_entry), (llist_dtor_func_t) user_tick_function_dtor, 0); - php_add_tick_function(run_user_tick_functions); + php_add_tick_function(run_user_tick_functions TSRMLS_CC); } for (i = 0; i < tick_fe.arg_count; i++) { |