summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-11-17 11:28:01 +0000
committerFelipe Pena <felipe@php.net>2008-11-17 11:28:01 +0000
commitfc2fb50d095d80a957117ecf52bd817a609e1dcf (patch)
tree7d0478dbb464dae103f296eaa7d5c6295d238ee9 /Zend/zend_API.h
parentdf3dc8d9749dcb8d1ab91d2a462a67ea369543f8 (diff)
downloadphp-git-fc2fb50d095d80a957117ecf52bd817a609e1dcf.tar.gz
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index 9b5bb70781..5416619d83 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -101,7 +101,7 @@ typedef struct _zend_fcall_info_cache {
#define ZEND_ARG_OBJ_INFO(pass_by_ref, name, classname, allow_null) { #name, sizeof(#name)-1, #classname, sizeof(#classname)-1, 0, allow_null, pass_by_ref, 0, 0 },
#define ZEND_ARG_ARRAY_INFO(pass_by_ref, name, allow_null) { #name, sizeof(#name)-1, NULL, 0, 1, allow_null, pass_by_ref, 0, 0 },
#define ZEND_BEGIN_ARG_INFO_EX(name, pass_rest_by_reference, return_reference, required_num_args) \
- const zend_arg_info name[] = { \
+ static const zend_arg_info name[] = { \
{ NULL, 0, NULL, 0, 0, 0, pass_rest_by_reference, return_reference, required_num_args },
#define ZEND_BEGIN_ARG_INFO(name, pass_rest_by_reference) \
ZEND_BEGIN_ARG_INFO_EX(name, pass_rest_by_reference, ZEND_RETURN_VALUE, -1)