diff options
Diffstat (limited to 'ext/tidy/tidy.c')
-rw-r--r-- | ext/tidy/tidy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index 83abefff5a..9f0bedaaa4 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -286,7 +286,7 @@ STD_PHP_INI_ENTRY("tidy.default_config", "", PHP_INI_SYSTEM, OnUpdateString, STD_PHP_INI_ENTRY("tidy.clean_output", "0", PHP_INI_USER, php_tidy_set_clean_output, clean_output, zend_tidy_globals, tidy_globals) PHP_INI_END() -static zend_function_entry tidy_functions[] = { +static const zend_function_entry tidy_functions[] = { PHP_FE(tidy_getopt, NULL) PHP_FE(tidy_parse_string, NULL) PHP_FE(tidy_parse_file, NULL) @@ -316,7 +316,7 @@ static zend_function_entry tidy_functions[] = { {NULL, NULL, NULL} }; -static zend_function_entry tidy_funcs_doc[] = { +static const zend_function_entry tidy_funcs_doc[] = { TIDY_METHOD_MAP(getOpt, tidy_getopt, NULL) TIDY_METHOD_MAP(cleanRepair, tidy_clean_repair, NULL) TIDY_DOC_ME(parseFile, NULL) @@ -341,7 +341,7 @@ static zend_function_entry tidy_funcs_doc[] = { {NULL, NULL, NULL} }; -static zend_function_entry tidy_funcs_node[] = { +static const zend_function_entry tidy_funcs_node[] = { TIDY_NODE_ME(hasChildren, NULL) TIDY_NODE_ME(hasSiblings, NULL) TIDY_NODE_ME(isComment, NULL) |