mirror of
https://github.com/php/php-src.git
synced 2024-12-14 20:33:36 +08:00
MFB: const keywording
This commit is contained in:
parent
d2a2269f55
commit
64d4e4244a
@ -46,13 +46,6 @@ ZEND_GET_MODULE(spl)
|
||||
|
||||
ZEND_DECLARE_MODULE_GLOBALS(spl)
|
||||
|
||||
/* {{{ spl_functions_none
|
||||
*/
|
||||
const zend_function_entry spl_functions_none[] = {
|
||||
{NULL, NULL, NULL}
|
||||
};
|
||||
/* }}} */
|
||||
|
||||
/* {{{ PHP_GINIT_FUNCTION
|
||||
*/
|
||||
static PHP_GINIT_FUNCTION(spl)
|
||||
@ -788,7 +781,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,
|
||||
|
@ -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
|
||||
|
@ -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) \
|
||||
|
@ -359,7 +359,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,
|
||||
|
Loading…
Reference in New Issue
Block a user