From f2435bd2521dca16184833c08b03bf91806e09db Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Thu, 23 Apr 2015 12:31:02 +0200 Subject: [PATCH] Fixed compiler warning --- Zend/zend_compile.c | 2 +- Zend/zend_compile.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index ff22e0ceb3..68a7013387 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -4108,7 +4108,7 @@ void zend_compile_stmt_list(zend_ast *ast) /* {{{ */ } /* }}} */ -ZEND_API int zend_set_function_arg_flags(zend_function *func) /* {{{ */ +ZEND_API void zend_set_function_arg_flags(zend_function *func) /* {{{ */ { uint32_t i, n; diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h index 6ae1cd5f45..efc2f820e1 100644 --- a/Zend/zend_compile.h +++ b/Zend/zend_compile.h @@ -779,7 +779,7 @@ ZEND_API void zend_activate_auto_globals(void); ZEND_API zend_bool zend_is_auto_global(zend_string *name); ZEND_API zend_bool zend_is_auto_global_str(char *name, size_t len); ZEND_API size_t zend_dirname(char *path, size_t len); -ZEND_API int zend_set_function_arg_flags(zend_function *func); +ZEND_API void zend_set_function_arg_flags(zend_function *func); int zendlex(zend_parser_stack_elem *elem); -- 2.40.0