summaryrefslogtreecommitdiff
path: root/ext/tidy
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tidy')
-rw-r--r--ext/tidy/php_tidy.h2
-rw-r--r--ext/tidy/tidy.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/tidy/php_tidy.h b/ext/tidy/php_tidy.h
index 60b8136ce0..12226743ec 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 5c51940d52..c259ec7ddd 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;
-const zend_module_entry tidy_module_entry = {
+zend_module_entry tidy_module_entry = {
STANDARD_MODULE_HEADER,
"tidy",
tidy_functions,