diff options
author | Nuno Lopes <nlopess@php.net> | 2008-08-12 21:45:52 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2008-08-12 21:45:52 +0000 |
commit | f87d4530c299167f04a4d2cc076edb2432be3280 (patch) | |
tree | 669797e2eec01898ef35e7c8540c575f1792a055 /Zend/zend_execute_API.c | |
parent | 9f3cb0ecb39fd53bb504080efbc1b83cc2aa96b4 (diff) | |
download | php-git-f87d4530c299167f04a4d2cc076edb2432be3280.tar.gz |
mark empty_fcall_info and empty_fcall_info_cache as constant. a few less bytes in the dirty page :P
Diffstat (limited to 'Zend/zend_execute_API.c')
-rw-r--r-- | Zend/zend_execute_API.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 5e27627bae..4b094e29a5 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -40,8 +40,8 @@ ZEND_API void (*zend_execute)(zend_op_array *op_array TSRMLS_DC); ZEND_API void (*zend_execute_internal)(zend_execute_data *execute_data_ptr, int return_value_used TSRMLS_DC); /* true globals */ -ZEND_API zend_fcall_info empty_fcall_info = { 0, NULL, NULL, NULL, NULL, 0, NULL, NULL, 0 }; -ZEND_API zend_fcall_info_cache empty_fcall_info_cache = { 0, NULL, NULL, NULL, NULL }; +ZEND_API const zend_fcall_info empty_fcall_info = { 0, NULL, NULL, NULL, NULL, 0, NULL, NULL, 0 }; +ZEND_API const zend_fcall_info_cache empty_fcall_info_cache = { 0, NULL, NULL, NULL, NULL }; #ifdef ZEND_WIN32 #include <process.h> |