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

index 4121c2b0ed9fc4d23c9cd952040bd4ee1d79e812..ca7da0df69810258418bb446c2621fa4158c9464 100755 (executable)
@@ -764,7 +764,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 e4e3c12d533296ab1e5574a06577fd4ddc9fd56a..75ec338285feb3d515f1636474899bf6c89bd5f6 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 60b8136ce0200b5bfa8d89a9d43c73ac81b4b87f..12226743ecee112a8fe8e45e0d269dd98b0c7583 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 5c51940d52f5073ac734c69b196c9eb3bb752aee..c259ec7ddd344b58eef3bca179d47cd6b059fe0d 100644 (file)
@@ -351,7 +351,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,