]> granicus.if.org Git - php/commitdiff
MFB: Removed pointless callbacks.
authorIlia Alshanetsky <iliaa@php.net>
Tue, 20 Jun 2006 22:42:42 +0000 (22:42 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 20 Jun 2006 22:42:42 +0000 (22:42 +0000)
ext/tokenizer/php_tokenizer.h
ext/tokenizer/tokenizer.c

index 6859152608cb480367928ca14e2ecb39fa9923fa..c9f2979e1145c446a01865d72c68a66c944c0949 100644 (file)
@@ -35,9 +35,6 @@ extern zend_module_entry tokenizer_module_entry;
 #endif
 
 PHP_MINIT_FUNCTION(tokenizer);
-PHP_MSHUTDOWN_FUNCTION(tokenizer);
-PHP_RINIT_FUNCTION(tokenizer);
-PHP_RSHUTDOWN_FUNCTION(tokenizer);
 PHP_MINFO_FUNCTION(tokenizer);
 
 PHP_FUNCTION(confirm_tokenizer_compiled);      /* For testing, remove later. */
index bb070ed8ccd60ee29cbb2541edd3fb2aec6461e9..ba394addb4d0dd2a582728bf9dc25ad83167bb5b 100644 (file)
@@ -119,9 +119,9 @@ zend_module_entry tokenizer_module_entry = {
        "tokenizer",
        tokenizer_functions,
        PHP_MINIT(tokenizer),
-       PHP_MSHUTDOWN(tokenizer),
-       PHP_RINIT(tokenizer),           /* Replace with NULL if there's nothing to do at request start */
-       PHP_RSHUTDOWN(tokenizer),       /* Replace with NULL if there's nothing to do at request end */
+       NULL,
+       NULL,
+       NULL,
        PHP_MINFO(tokenizer),
 #if ZEND_MODULE_API_NO >= 20010901
        "0.1", /* Replace with version number for your extension */
@@ -287,35 +287,6 @@ PHP_MINIT_FUNCTION(tokenizer)
 }
 /* }}} */
 
-/* {{{ PHP_MSHUTDOWN_FUNCTION
- */
-PHP_MSHUTDOWN_FUNCTION(tokenizer)
-{
-       /* 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(tokenizer)
-{
-       return SUCCESS;
-}
-/* }}} */
-
-/* Remove if there's nothing to do at request end */
-/* {{{ PHP_RSHUTDOWN_FUNCTION
- */
-PHP_RSHUTDOWN_FUNCTION(tokenizer)
-{
-       return SUCCESS;
-}
-/* }}} */
-
 /* {{{ PHP_MINFO_FUNCTION
  */
 PHP_MINFO_FUNCTION(tokenizer)