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.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.h')
| -rw-r--r-- | Zend/zend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index 4de8b716c2..b4f66f087e 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -461,7 +461,7 @@ typedef struct _zend_trait_alias zend_trait_alias; struct _zend_class_entry { char type; - char *name; + const char *name; zend_uint name_length; struct _zend_class_entry *parent; int refcount; |
