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 cb2525ce0e..60928a7ce0 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -277,7 +277,7 @@ STD_PHP_INI_ENTRY("tidy.default_config", "", PHP_INI_SYSTEM, OnUpdateString, d PHP_INI_ENTRY("tidy.clean_output", "0", PHP_INI_PERDIR, NULL) 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) @@ -308,7 +308,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) @@ -333,7 +333,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) |