]> granicus.if.org Git - php/commitdiff
No reason to call empty RINIT, RSHUTDOWN and MSHUTDOWN functions here
authorRasmus Lerdorf <rasmus@php.net>
Mon, 7 Feb 2005 22:16:46 +0000 (22:16 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Mon, 7 Feb 2005 22:16:46 +0000 (22:16 +0000)
ext/xml/xml.c

index fba42e2e712133e4a4b0bb2f4819a02a73db6bdc..e2b8bb040e9496e7ff92f8d8608e15511542a1be 100644 (file)
@@ -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();