mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
Mark zend_timeout as noreturn
Otherwise we get a compiler warning...
This commit is contained in:
+1
-1
@@ -288,7 +288,7 @@ ZEND_API zend_bool zend_is_executing(void);
|
||||
|
||||
ZEND_API void zend_set_timeout(zend_long seconds, int reset_signals);
|
||||
ZEND_API void zend_unset_timeout(void);
|
||||
ZEND_API void zend_timeout(int dummy);
|
||||
ZEND_API ZEND_NORETURN void zend_timeout(int dummy);
|
||||
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, const zval *key, int fetch_type);
|
||||
void zend_verify_abstract_class(zend_class_entry *ce);
|
||||
|
||||
@@ -1186,7 +1186,7 @@ ZEND_API int zend_eval_string_ex(char *str, zval *retval_ptr, char *string_name,
|
||||
|
||||
static void zend_set_timeout_ex(zend_long seconds, int reset_signals);
|
||||
|
||||
ZEND_API void zend_timeout(int dummy) /* {{{ */
|
||||
ZEND_API ZEND_NORETURN void zend_timeout(int dummy) /* {{{ */
|
||||
{
|
||||
EG(timed_out) = 0;
|
||||
zend_set_timeout_ex(0, 1);
|
||||
|
||||
Reference in New Issue
Block a user