rasmus Mon Feb 7 17:16:46 2005 EDT
Modified files:
/php-src/ext/xml xml.c
Log:
No reason to call empty RINIT, RSHUTDOWN and MSHUTDOWN functions here
http://cvs.php.net/diff.php/php-src/ext/xml/xml.c?r1=1.152&r2=1.153&ty=u
Index: php-src/ext/xml/xml.c
diff -u php-src/ext/xml/xml.c:1.152 php-src/ext/xml/xml.c:1.153
--- php-src/ext/xml/xml.c:1.152 Thu Aug 19 08:18:25 2004
+++ php-src/ext/xml/xml.c Mon Feb 7 17:16:46 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: xml.c,v 1.152 2004/08/19 12:18:25 chregu Exp $ */
+/* $Id: xml.c,v 1.153 2005/02/07 22:16:46 rasmus Exp $ */
#define IS_EXT_MODULE
@@ -74,9 +74,6 @@
/* {{{ 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 @@
"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 @@
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();
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php