diff options
author | Nuno Lopes <nlopess@php.net> | 2008-01-25 20:29:48 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2008-01-25 20:29:48 +0000 |
commit | 65e86e459a6a1c987372daba412c1fc4279191b0 (patch) | |
tree | 462f1aa39f4f39c343487a539a5c1c3bfb8ad222 /ext/tidy | |
parent | 00e7f90796565d0428295e9065f4225a1188feab (diff) | |
download | php-git-65e86e459a6a1c987372daba412c1fc4279191b0.tar.gz |
more const kewywording
remove spl_functions_none var (wast used anywhere
Diffstat (limited to 'ext/tidy')
-rw-r--r-- | ext/tidy/php_tidy.h | 2 | ||||
-rw-r--r-- | ext/tidy/tidy.c | 2 |
2 files changed, 2 insertions, 2 deletions
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, |