1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 13:31:27 +02:00

added const, as required by struct-definition

This commit is contained in:
Alexey Zakhlestin
2008-11-07 09:12:39 +00:00
parent acdc79e876
commit 9942da41cf

View File

@@ -1122,7 +1122,7 @@ static char *php_resolve_path_for_zend(const char *filename, int filename_len TS
/* {{{ php_get_configuration_directive_for_zend
*/
static int php_get_configuration_directive_for_zend(char *name, uint name_length, zval *contents)
static int php_get_configuration_directive_for_zend(const char *name, uint name_length, zval *contents)
{
zval *retval = cfg_get_entry(name, name_length);