]> granicus.if.org Git - php/commitdiff
Get rid of more useless RINIT/RSHUTDOWN calls
authorRasmus Lerdorf <rasmus@php.net>
Mon, 7 Feb 2005 23:04:00 +0000 (23:04 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Mon, 7 Feb 2005 23:04:00 +0000 (23:04 +0000)
ext/fam/fam.c
ext/fam/php_fam.h
ext/hwapi/hwapi.cpp
ext/hwapi/php_hwapi.h
ext/msession/msession.c
ext/msession/php_msession.h
ext/ncurses/ncurses.c
ext/ncurses/php_ncurses.h
ext/tidy/php_tidy.h
ext/tidy/tidy.c

index d83ad77cef89427f7f6231ac4b7617df739efd83..24e3395e3b048499207c3e78f06c3bfa9f5b9e91 100644 (file)
@@ -64,9 +64,9 @@ zend_module_entry fam_module_entry = {
        "fam",
        fam_functions,
        PHP_MINIT(fam),
-       PHP_MSHUTDOWN(fam),
-       PHP_RINIT(fam),         /* Replace with NULL if there's nothing to do at request start */
-       PHP_RSHUTDOWN(fam),     /* Replace with NULL if there's nothing to do at request end */
+       NULL,
+       NULL,
+       NULL,
        PHP_MINFO(fam),
 #if ZEND_MODULE_API_NO >= 20010901
        "0.1", /* Replace with version number for your extension */
@@ -128,35 +128,6 @@ PHP_MINIT_FUNCTION(fam)
 }
 /* }}} */
 
-/* {{{ PHP_MSHUTDOWN_FUNCTION
- */
-PHP_MSHUTDOWN_FUNCTION(fam)
-{
-       /* uncomment this line if you have INI entries
-       UNREGISTER_INI_ENTRIES();
-       */
-       return SUCCESS;
-}
-/* }}} */
-
-/* Remove if there's nothing to do at request start */
-/* {{{ PHP_RINIT_FUNCTION
- */
-PHP_RINIT_FUNCTION(fam)
-{
-       return SUCCESS;
-}
-/* }}} */
-
-/* Remove if there's nothing to do at request end */
-/* {{{ PHP_RSHUTDOWN_FUNCTION
- */
-PHP_RSHUTDOWN_FUNCTION(fam)
-{
-       return SUCCESS;
-}
-/* }}} */
-
 /* {{{ PHP_MINFO_FUNCTION
  */
 PHP_MINFO_FUNCTION(fam)
index d234ea92a7a51d4b2c17dcd4e87914870493a7e8..28c4e97851eb2ffa58bba93d2f2e25999b739406 100644 (file)
@@ -35,9 +35,6 @@ extern zend_module_entry fam_module_entry;
 #endif
 
 PHP_MINIT_FUNCTION(fam);
-PHP_MSHUTDOWN_FUNCTION(fam);
-PHP_RINIT_FUNCTION(fam);
-PHP_RSHUTDOWN_FUNCTION(fam);
 PHP_MINFO_FUNCTION(fam);
 
 PHP_FUNCTION(fam_open);
index 157195ae01cfa6bad6ddcdab660b726886c8802d..b2530d6cf702d80f9f43abd5276afa20ae4e4dcb 100644 (file)
@@ -202,8 +202,8 @@ zend_module_entry hwapi_module_entry = {
        "hwapi",
        hwapi_functions,
        PHP_MINIT(hwapi),
-       PHP_MSHUTDOWN(hwapi),
-       PHP_RINIT(hwapi),
+       NULL,
+       NULL,
        NULL,
        PHP_MINFO(hwapi),
        NO_VERSION_YET,
@@ -2224,14 +2224,6 @@ PHP_MINIT_FUNCTION(hwapi) {
        return SUCCESS;
 }
 
-PHP_MSHUTDOWN_FUNCTION(hwapi) {
-       return SUCCESS;
-}
-
-PHP_RINIT_FUNCTION(hwapi) {
-       return SUCCESS;
-}
-
 PHP_MINFO_FUNCTION(hwapi) {
        php_info_print_table_start();
        php_info_print_table_row(2, "Hyperwave API Support", "enabled");
index 9c199134fddc9822255abd3477a3a9eb7bba9af7..2c54d04fea524a19aefa875f7e6afd3c5096347f 100644 (file)
@@ -66,8 +66,6 @@ extern PHP_HWAPI_API zend_hwapi_globals hwapi_globals;
 #endif
 
 extern PHP_MINIT_FUNCTION(hwapi);
-extern PHP_MSHUTDOWN_FUNCTION(hwapi);
-extern PHP_RINIT_FUNCTION(hwapi);
 PHP_MINFO_FUNCTION(hwapi);
 
 /* HW_API */
index 60f43608083223ff82213f63e7b202b457ea2b42..b3771b1337d626ee6fafc2b29faad05a7f50c8c5 100644 (file)
@@ -156,9 +156,9 @@ zend_module_entry msession_module_entry = {
        "msession",
        msession_functions,
        PHP_MINIT(msession),
-       PHP_MSHUTDOWN(msession),
-       PHP_RINIT(msession),
-       PHP_RSHUTDOWN(msession),
+       NULL,
+       NULL,
+       NULL,
        PHP_MINFO(msession),
 #ifdef PHP_4_1
        NO_VERSION_YET,
@@ -181,21 +181,6 @@ PHP_MINIT_FUNCTION(msession)
        return SUCCESS;
 }
 
-PHP_MSHUTDOWN_FUNCTION(msession)
-{
-       return SUCCESS;
-}
-
-PHP_RINIT_FUNCTION(msession)
-{
-       return SUCCESS;
-}
-
-PHP_RSHUTDOWN_FUNCTION(msession)
-{
-       return SUCCESS;
-}
-
 PHP_MINFO_FUNCTION(msession)
 {
        php_info_print_table_start();
index edd2a7bb6d33c6c0d17c12aff77f26e63e7fae81..aab7e915d230625597f655c5e6c767b5de40d673 100644 (file)
@@ -35,9 +35,6 @@ extern zend_module_entry msession_module_entry;
 #endif
 
 PHP_MINIT_FUNCTION(msession);
-PHP_MSHUTDOWN_FUNCTION(msession);
-PHP_RINIT_FUNCTION(msession);
-PHP_RSHUTDOWN_FUNCTION(msession);
 PHP_MINFO_FUNCTION(msession);
 
 PHP_FUNCTION(msession_connect);
index eedd8a32c0cf8613f0944d9846ea75a970a1ece7..4e260c625e30d667688e1be5898b308b5be512b9 100644 (file)
@@ -59,8 +59,8 @@ zend_module_entry ncurses_module_entry = {
        ncurses_functions,
        PHP_MINIT(ncurses),
        PHP_MSHUTDOWN(ncurses),
-       PHP_RINIT(ncurses),     /* Replace with NULL if there's nothing to do at request start */
-       PHP_RSHUTDOWN(ncurses), /* Replace with NULL if there's nothing to do at request end */
+       NULL,
+       NULL,
        PHP_MINFO(ncurses),
        NO_VERSION_YET,
        STANDARD_MODULE_PROPERTIES
@@ -264,24 +264,6 @@ PHP_MSHUTDOWN_FUNCTION(ncurses)
 }
 /* }}} */
 
-/* Remove if there's nothing to do at request start */
-/* {{{ PHP_RINIT_FUNCTION
- */
-PHP_RINIT_FUNCTION(ncurses)
-{
-       return SUCCESS;
-}
-/* }}} */
-
-/* Remove if there's nothing to do at request end */
-/* {{{ PHP_RSHUTDOWN_FUNCTION
- */
-PHP_RSHUTDOWN_FUNCTION(ncurses)
-{
-       return SUCCESS;
-}
-/* }}} */
-
 /* {{{ PHP_MINFO_FUNCTION
  */
 PHP_MINFO_FUNCTION(ncurses)
index 6d17f9b4b833749465f9664cdfca5358797bdd4f..aae0aef094d724165baffdc65f4efc5b74b88567 100644 (file)
@@ -47,8 +47,6 @@ extern function_entry ncurses_functions[];
 
 PHP_MINIT_FUNCTION(ncurses);
 PHP_MSHUTDOWN_FUNCTION(ncurses);
-PHP_RINIT_FUNCTION(ncurses);
-PHP_RSHUTDOWN_FUNCTION(ncurses);
 PHP_MINFO_FUNCTION(ncurses);
 
 ZEND_BEGIN_MODULE_GLOBALS(ncurses)
index c6db213256dcdb8d215c5dbfe752d8e997e3a7ca..234bb13fddfbea856676b247ab382afd7a00e502 100644 (file)
@@ -42,7 +42,6 @@ extern zend_module_entry tidy_module_entry;
 PHP_MINIT_FUNCTION(tidy);
 PHP_MSHUTDOWN_FUNCTION(tidy);
 PHP_RINIT_FUNCTION(tidy);
-PHP_RSHUTDOWN_FUNCTION(tidy);
 PHP_MINFO_FUNCTION(tidy);
 
 PHP_FUNCTION(tidy_getopt);
index 75a2b6e1645fe67236cda72d4a1a42f4add02182..b91a240a644402e9474489916d8784ded01b800a 100644 (file)
@@ -297,7 +297,7 @@ zend_module_entry tidy_module_entry = {
        PHP_MINIT(tidy),
        PHP_MSHUTDOWN(tidy),
        PHP_RINIT(tidy),
-       PHP_RSHUTDOWN(tidy),
+       NULL,
        PHP_MINFO(tidy),
        PHP_TIDY_MODULE_VERSION,
        STANDARD_MODULE_PROPERTIES
@@ -946,11 +946,6 @@ PHP_RINIT_FUNCTION(tidy)
        return SUCCESS;
 }
 
-PHP_RSHUTDOWN_FUNCTION(tidy)
-{
-       return SUCCESS;
-}
-
 PHP_MINFO_FUNCTION(tidy)
 {
        php_info_print_table_start();