summaryrefslogtreecommitdiff
path: root/ext/ncurses/ncurses.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2005-02-07 23:04:00 +0000
committerRasmus Lerdorf <rasmus@php.net>2005-02-07 23:04:00 +0000
commit3baf795c17a0a2199eb7e8b621dac7144b725c17 (patch)
tree695c64e70f287101c181023aee0310c71600578a /ext/ncurses/ncurses.c
parentaa6cb1055b0fd0f1e165cea038b1f4d2d99a4816 (diff)
downloadphp-git-3baf795c17a0a2199eb7e8b621dac7144b725c17.tar.gz
Get rid of more useless RINIT/RSHUTDOWN calls
Diffstat (limited to 'ext/ncurses/ncurses.c')
-rw-r--r--ext/ncurses/ncurses.c22
1 files changed, 2 insertions, 20 deletions
diff --git a/ext/ncurses/ncurses.c b/ext/ncurses/ncurses.c
index eedd8a32c0..4e260c625e 100644
--- a/ext/ncurses/ncurses.c
+++ b/ext/ncurses/ncurses.c
@@ -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)