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_strtod.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_strtod.h')
-rw-r--r-- | Zend/zend_strtod.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_strtod.h b/Zend/zend_strtod.h index f2b06284b4..1771f5c103 100644 --- a/Zend/zend_strtod.h +++ b/Zend/zend_strtod.h @@ -27,9 +27,9 @@ BEGIN_EXTERN_C() ZEND_API void zend_freedtoa(char *s); ZEND_API char * zend_dtoa(double _d, int mode, int ndigits, int *decpt, int *sign, char **rve); -ZEND_API double zend_strtod(const char *s00, char **se); -ZEND_API double zend_hex_strtod(const char *str, char **endptr); -ZEND_API double zend_oct_strtod(const char *str, char **endptr); +ZEND_API double zend_strtod(const char *s00, const char **se); +ZEND_API double zend_hex_strtod(const char *str, const char **endptr); +ZEND_API double zend_oct_strtod(const char *str, const char **endptr); ZEND_API int zend_startup_strtod(void); ZEND_API int zend_shutdown_strtod(void); END_EXTERN_C() |