diff options
| author | Hartmut Holzgraefe <hholzgra@php.net> | 2010-10-14 21:33:10 +0000 | 
|---|---|---|
| committer | Hartmut Holzgraefe <hholzgra@php.net> | 2010-10-14 21:33:10 +0000 | 
| commit | aaa2f1c30b3ba3da3e0030804054ee9c70e80bc7 (patch) | |
| tree | 384852c9b955d1fea39e52a1a2fcf7cfd57e657f /Zend/zend_builtin_functions.c | |
| parent | 738be1a0030ae67b19095391e0ee508284a5ab41 (diff) | |
| download | php-git-aaa2f1c30b3ba3da3e0030804054ee9c70e80bc7.tar.gz | |
marked char pointer arguments as const in lots of
places where strings pointed to are not modified 
to prevent compiler warnings about discarded qualifiers ...
Diffstat (limited to 'Zend/zend_builtin_functions.c')
| -rw-r--r-- | Zend/zend_builtin_functions.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 5151446814..a96c5bc683 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -1973,7 +1973,7 @@ ZEND_FUNCTION(debug_print_backtrace)  	int lineno;  	char *function_name;  	char *filename; -	char *class_name = NULL; +	const char *class_name = NULL;  	char *call_type;  	char *include_filename = NULL;  	zval *arg_array = NULL; @@ -1989,7 +1989,7 @@ ZEND_FUNCTION(debug_print_backtrace)  	ptr = ptr->prev_execute_data;  	while (ptr) { -		char *free_class_name = NULL; +		const char *free_class_name = NULL;  		class_name = call_type = NULL;     		arg_array = NULL;  | 
