marked char pointer arguments as const in lots of

places where strings pointed to are not modified 
to prevent compiler warnings about discarded qualifiers ...
This commit is contained in:
Hartmut Holzgraefe 2010-10-14 21:33:10 +00:00
parent 738be1a003
commit aaa2f1c30b
17 changed files with 64 additions and 63 deletions

View file

@ -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);