summaryrefslogtreecommitdiff
path: root/ext/standard/php_string.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2011-09-13 13:29:35 +0000
committerDmitry Stogov <dmitry@php.net>2011-09-13 13:29:35 +0000
commit4a25a7740d62c9ec0318001c3f6d6b3ae01d96ad (patch)
tree3e5041ac2a54ff635c9e77d97e2a14a2f1c860c6 /ext/standard/php_string.h
parent3a3c2942d254be88b82fc871ef4fa9698e921ac7 (diff)
downloadphp-git-4a25a7740d62c9ec0318001c3f6d6b3ae01d96ad.tar.gz
Fixed ZE specific compile warnings (Bug #55629)
Diffstat (limited to 'ext/standard/php_string.h')
-rw-r--r--ext/standard/php_string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/php_string.h b/ext/standard/php_string.h
index 8284204c89..495b8f07aa 100644
--- a/ext/standard/php_string.h
+++ b/ext/standard/php_string.h
@@ -122,10 +122,10 @@ PHPAPI char *php_strtoupper(char *s, size_t len);
PHPAPI char *php_strtolower(char *s, size_t len);
PHPAPI char *php_strtr(char *str, int len, char *str_from, char *str_to, int trlen);
PHPAPI char *php_addslashes(char *str, int length, int *new_length, int freeit TSRMLS_DC);
-PHPAPI char *php_addcslashes(char *str, int length, int *new_length, int freeit, char *what, int wlength TSRMLS_DC);
+PHPAPI char *php_addcslashes(const char *str, int length, int *new_length, int freeit, char *what, int wlength TSRMLS_DC);
PHPAPI void php_stripslashes(char *str, int *len TSRMLS_DC);
PHPAPI void php_stripcslashes(char *str, int *len);
-PHPAPI void php_basename(char *s, size_t len, char *suffix, size_t sufflen, char **p_ret, size_t *p_len TSRMLS_DC);
+PHPAPI void php_basename(const char *s, size_t len, char *suffix, size_t sufflen, char **p_ret, size_t *p_len TSRMLS_DC);
PHPAPI size_t php_dirname(char *str, size_t len);
PHPAPI char *php_stristr(char *s, char *t, size_t s_len, size_t t_len);
PHPAPI char *php_str_to_str_ex(char *haystack, int length, char *needle,