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_string.h | |
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_string.h')
-rw-r--r-- | Zend/zend_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_string.h b/Zend/zend_string.h index f657b4f14d..18b541a1bc 100644 --- a/Zend/zend_string.h +++ b/Zend/zend_string.h @@ -23,7 +23,7 @@ #include "zend.h" -ZEND_API extern char *(*zend_new_interned_string)(char *str, int len, int free_src TSRMLS_DC); +ZEND_API extern const char *(*zend_new_interned_string)(const char *str, int len, int free_src TSRMLS_DC); ZEND_API extern void (*zend_interned_strings_snapshot)(TSRMLS_D); ZEND_API extern void (*zend_interned_strings_restore)(TSRMLS_D); |