com php-src: Fixed compiler warning: Zend/zend_compile.c Zend/zend_compile.h
| From: | Kalle Sommer Nielsen | Date: | Thu, 23 Apr 2015 10:31:02 +0000 |
| Subject: | com php-src: Fixed compiler warning: Zend/zend_compile.c Zend/zend_compile.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86453@lists.php.net to get a copy of this message | ||
Commit: f2435bd2521dca16184833c08b03bf91806e09db
Author: Kalle Sommer Nielsen <kalle@php.net> Thu, 23 Apr 2015 12:31:02 +0200
Parents: 49cf7c5d120876b52fb187e4c13f4adc4fc4d9a6
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f2435bd2521dca16184833c08b03bf91806e09db
Log:
Fixed compiler warning
Changed paths:
M Zend/zend_compile.c
M Zend/zend_compile.h
Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index ff22e0c...68a7013 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 6ae1cd5..efc2f82 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);