summaryrefslogtreecommitdiff
path: root/Zend/zend_string.h
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2010-10-14 21:33:10 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2010-10-14 21:33:10 +0000
commitaaa2f1c30b3ba3da3e0030804054ee9c70e80bc7 (patch)
tree384852c9b955d1fea39e52a1a2fcf7cfd57e657f /Zend/zend_string.h
parent738be1a0030ae67b19095391e0ee508284a5ab41 (diff)
downloadphp-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.h2
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);