From 6b85ff3057757726ec938a574dca7b2b138e1e3d Mon Sep 17 00:00:00 2001 From: Jani Taskinen Date: Mon, 19 Oct 2009 15:34:50 +0000 Subject: [PATCH] - It is not const in PHP_5_2 but it is in HEAD and PHP_5_3 --- ext/exif/exif.c | 2 +- ext/phar/phar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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") -- 2.40.0