]> granicus.if.org Git - php/commitdiff
- revert over constfying
authorMarcus Boerger <helly@php.net>
Sun, 27 Jan 2008 15:03:55 +0000 (15:03 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 27 Jan 2008 15:03:55 +0000 (15:03 +0000)
ext/spl/php_spl.c
ext/spl/php_spl.h
ext/tidy/php_tidy.h
ext/tidy/tidy.c

index 73119dcd00844457d1e257ac3101aebc3a8f6ec6..3f0df658fadcc08029e1638815467c841dc1f1d0 100755 (executable)
@@ -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,
index fed15767fbd0155a6514a63a96416f00642b8a55..1c202747ecc888e31c49f1acca05242a2137765e 100755 (executable)
@@ -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
index 71a53f1babae67de974214a8d539aeea1fd1d28c..b3aaca3db9ce9effc8210f2f41ff7f7951b07df9 100644 (file)
@@ -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) \
index 99c6a0bf21b7a328a12d3ef5a75b6d096eebf1ad..0737819eac8abfc3fea1b58b655f14227d400071 100644 (file)
@@ -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,