From: Jani Taskinen Date: Mon, 19 Oct 2009 15:34:50 +0000 (+0000) Subject: - It is not const in PHP_5_2 but it is in HEAD and PHP_5_3 X-Git-Tag: php-5.4.0alpha1~191^2~2498 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b85ff3057757726ec938a574dca7b2b138e1e3d;p=php - It is not const in PHP_5_2 but it is in HEAD and PHP_5_3 --- diff --git a/ext/exif/exif.c b/ext/exif/exif.c index 081cc210fe..13989faaaa 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -239,7 +239,7 @@ PHP_MSHUTDOWN_FUNCTION(exif) /* }}} */ /* {{{ exif dependencies */ -static zend_module_dep exif_module_deps[] = { +static const zend_module_dep exif_module_deps[] = { ZEND_MOD_REQUIRED("standard") #if EXIF_USE_MBSTRING ZEND_MOD_REQUIRED("mbstring") diff --git a/ext/phar/phar.c b/ext/phar/phar.c index 9ea3756709..87fedfcd7d 100644 --- a/ext/phar/phar.c +++ b/ext/phar/phar.c @@ -3706,7 +3706,7 @@ PHP_MINFO_FUNCTION(phar) /* {{{ */ /* {{{ phar_module_entry */ -static zend_module_dep phar_deps[] = { +static const zend_module_dep phar_deps[] = { ZEND_MOD_OPTIONAL("apc") ZEND_MOD_OPTIONAL("bz2") ZEND_MOD_OPTIONAL("openssl")