mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
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:
parent
738be1a003
commit
aaa2f1c30b
17 changed files with 64 additions and 63 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue