The 'int dummy' parameter to this function makes it appear that it was intended as a
signal handler, but it is not being used as such. So remove the redundant parameter.
ZEND_API void zend_set_timeout(zend_long seconds, int reset_signals);
ZEND_API void zend_unset_timeout(void);
-ZEND_API ZEND_NORETURN void ZEND_FASTCALL zend_timeout(int dummy);
+ZEND_API ZEND_NORETURN void ZEND_FASTCALL zend_timeout(void);
ZEND_API zend_class_entry *zend_fetch_class(zend_string *class_name, int fetch_type);
ZEND_API zend_class_entry *zend_fetch_class_by_name(zend_string *class_name, zend_string *lcname, int fetch_type);
static void zend_set_timeout_ex(zend_long seconds, int reset_signals);
-ZEND_API ZEND_NORETURN void ZEND_FASTCALL zend_timeout(int dummy) /* {{{ */
+ZEND_API ZEND_NORETURN void ZEND_FASTCALL zend_timeout(void) /* {{{ */
{
#if defined(PHP_WIN32)
# ifndef ZTS
EG(vm_interrupt) = 0;
SAVE_OPLINE();
if (EG(timed_out)) {
- zend_timeout(0);
+ zend_timeout();
} else if (zend_interrupt_function) {
zend_interrupt_function(execute_data);
ZEND_VM_ENTER();
EG(vm_interrupt) = 0;
SAVE_OPLINE();
if (EG(timed_out)) {
- zend_timeout(0);
+ zend_timeout();
} else if (zend_interrupt_function) {
zend_interrupt_function(execute_data);
ZEND_VM_ENTER();
| //if (EG(timed_out)) {
| MEM_OP2_1_ZTS cmp, byte, executor_globals, timed_out, 0, r0
| je >1
- | //zend_timeout(0);
- | xor FCARG1d, FCARG1d
+ | //zend_timeout();
| EXT_CALL zend_timeout, r0
|1:
| //} else if (zend_interrupt_function) {