diff options
-rwxr-xr-x | ext/spl/php_spl.c | 9 | ||||
-rwxr-xr-x | ext/spl/php_spl.h | 2 | ||||
-rw-r--r-- | ext/tidy/php_tidy.h | 2 | ||||
-rw-r--r-- | ext/tidy/tidy.c | 2 |
4 files changed, 4 insertions, 11 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index 30e4d7814d..4121c2b0ed 100755 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -48,13 +48,6 @@ ZEND_DECLARE_MODULE_GLOBALS(spl) #define SPL_DEFAULT_FILE_EXTENSIONS ".inc,.php" -/* {{{ spl_functions_none - */ -const zend_function_entry spl_functions_none[] = { - {NULL, NULL, NULL} -}; -/* }}} */ - /* {{{ PHP_GINIT_FUNCTION */ static PHP_GINIT_FUNCTION(spl) @@ -771,7 +764,7 @@ static const zend_module_dep spl_deps[] = { /* {{{ spl_module_entry */ -zend_module_entry spl_module_entry = { +const 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 75ec338285..e4e3c12d53 100755 --- a/ext/spl/php_spl.h +++ b/ext/spl/php_spl.h @@ -28,7 +28,7 @@ #define SPL_DEBUG(x) #endif -extern zend_module_entry spl_module_entry; +extern const 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 12226743ec..60b8136ce0 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 zend_module_entry tidy_module_entry; +extern const 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 c259ec7ddd..5c51940d52 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -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; -zend_module_entry tidy_module_entry = { +const zend_module_entry tidy_module_entry = { STANDARD_MODULE_HEADER, "tidy", tidy_functions, |