summaryrefslogtreecommitdiff
path: root/ext/xml/xml.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2005-02-07 22:16:46 +0000
committerRasmus Lerdorf <rasmus@php.net>2005-02-07 22:16:46 +0000
commit9c530d79e7f97dfe64af1e7e4200c4f9f1953035 (patch)
treebd72e21d9569b42e0122562f06fd5fa73e5e335a /ext/xml/xml.c
parentc91218ae8ac45c29628cb1ea730d7c2c90adf966 (diff)
downloadphp-git-9c530d79e7f97dfe64af1e7e4200c4f9f1953035.tar.gz
No reason to call empty RINIT, RSHUTDOWN and MSHUTDOWN functions here
Diffstat (limited to 'ext/xml/xml.c')
-rw-r--r--ext/xml/xml.c28
1 files changed, 3 insertions, 25 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c
index fba42e2e71..e2b8bb040e 100644
--- a/ext/xml/xml.c
+++ b/ext/xml/xml.c
@@ -74,9 +74,6 @@ ZEND_GET_MODULE(xml)
/* {{{ function prototypes */
PHP_MINIT_FUNCTION(xml);
-PHP_RINIT_FUNCTION(xml);
-PHP_MSHUTDOWN_FUNCTION(xml);
-PHP_RSHUTDOWN_FUNCTION(xml);
PHP_MINFO_FUNCTION(xml);
static void xml_parser_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC);
@@ -147,9 +144,9 @@ zend_module_entry xml_module_entry = {
"xml", /* extension name */
xml_functions, /* extension function list */
PHP_MINIT(xml), /* extension-wide startup function */
- PHP_MSHUTDOWN(xml), /* extension-wide shutdown function */
- PHP_RINIT(xml), /* per-request startup function */
- PHP_RSHUTDOWN(xml), /* per-request shutdown function */
+ NULL, /* extension-wide shutdown function */
+ NULL, /* per-request startup function */
+ NULL, /* per-request shutdown function */
PHP_MINFO(xml), /* information function */
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
@@ -251,25 +248,6 @@ PHP_MINIT_FUNCTION(xml)
return SUCCESS;
}
-
-PHP_RINIT_FUNCTION(xml)
-{
- return SUCCESS;
-}
-
-
-PHP_MSHUTDOWN_FUNCTION(xml)
-{
- return SUCCESS;
-}
-
-
-PHP_RSHUTDOWN_FUNCTION(xml)
-{
- return SUCCESS;
-}
-
-
PHP_MINFO_FUNCTION(xml)
{
php_info_print_table_start();