From f1d8a5ca60c191dcbaf4685b786b2e52f0c8520a Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 27 Jan 2008 15:03:55 +0000 Subject: [PATCH] - revert over constfying --- ext/spl/php_spl.c | 2 +- ext/spl/php_spl.h | 2 +- ext/tidy/php_tidy.h | 2 +- ext/tidy/tidy.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index 73119dcd00..3f0df658fa 100755 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -781,7 +781,7 @@ static const zend_module_dep spl_deps[] = { /* {{{ spl_module_entry */ -const zend_module_entry spl_module_entry = { +zend_module_entry spl_module_entry = { #ifdef HAVE_SIMPLEXML STANDARD_MODULE_HEADER_EX, NULL, spl_deps, diff --git a/ext/spl/php_spl.h b/ext/spl/php_spl.h index fed15767fb..1c202747ec 100755 --- a/ext/spl/php_spl.h +++ b/ext/spl/php_spl.h @@ -28,7 +28,7 @@ #define SPL_DEBUG(x) #endif -extern const zend_module_entry spl_module_entry; +extern zend_module_entry spl_module_entry; #define phpext_spl_ptr &spl_module_entry #ifdef PHP_WIN32 diff --git a/ext/tidy/php_tidy.h b/ext/tidy/php_tidy.h index 71a53f1bab..b3aaca3db9 100644 --- a/ext/tidy/php_tidy.h +++ b/ext/tidy/php_tidy.h @@ -21,7 +21,7 @@ #ifndef PHP_TIDY_H #define PHP_TIDY_H -extern const zend_module_entry tidy_module_entry; +extern zend_module_entry tidy_module_entry; #define phpext_tidy_ptr &tidy_module_entry #define TIDY_METHOD_MAP(name, func_name, arg_types) \ diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index 99c6a0bf21..0737819eac 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -359,7 +359,7 @@ static zend_class_entry *tidy_ce_doc, *tidy_ce_node; static zend_object_handlers tidy_object_handlers_doc; static zend_object_handlers tidy_object_handlers_node; -const zend_module_entry tidy_module_entry = { +zend_module_entry tidy_module_entry = { STANDARD_MODULE_HEADER, "tidy", tidy_functions, -- 2.40.0