]> granicus.if.org Git - php/commitdiff
- It is not const in PHP_5_2 but it is in HEAD and PHP_5_3
authorJani Taskinen <jani@php.net>
Mon, 19 Oct 2009 15:34:50 +0000 (15:34 +0000)
committerJani Taskinen <jani@php.net>
Mon, 19 Oct 2009 15:34:50 +0000 (15:34 +0000)
ext/exif/exif.c
ext/phar/phar.c

index 081cc210feb2cc6496f936c0bf9925a1d7bfb634..13989faaaaa0b0e3ce56f62adf02da4633835238 100644 (file)
@@ -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")
index 9ea3756709101f28667f55e61de87b2079efa552..87fedfcd7d70377ac4ba078cf9c830a33351e9c6 100644 (file)
@@ -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")