summaryrefslogtreecommitdiff
path: root/Zend/zend_execute_API.c
diff options
context:
space:
mode:
authorAlex Dowad <alexinbeijing@gmail.com>2020-05-06 22:22:07 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-05-12 17:13:46 +0200
commitf0960879e4e93e8204e6b70ce833f8f0b405cc28 (patch)
treef1aae470a6a521b0cc9bdc6cafbf558c83475b23 /Zend/zend_execute_API.c
parent53f5cfd99eb19a47ce3bb2bd245d14103c9c1194 (diff)
downloadphp-git-f0960879e4e93e8204e6b70ce833f8f0b405cc28.tar.gz
zend_timeout is not a signal handler function
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.
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r--Zend/zend_execute_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index bbd7bb8f8b..e8b70840b7 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -1104,7 +1104,7 @@ ZEND_API int zend_eval_string_ex(const char *str, zval *retval_ptr, const char *
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