From: Rasmus Lerdorf Date: Mon, 7 Feb 2005 22:16:46 +0000 (+0000) Subject: No reason to call empty RINIT, RSHUTDOWN and MSHUTDOWN functions here X-Git-Tag: RELEASE_0_2~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c530d79e7f97dfe64af1e7e4200c4f9f1953035;p=php No reason to call empty RINIT, RSHUTDOWN and MSHUTDOWN functions here --- 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();