summaryrefslogtreecommitdiff
path: root/ext/tokenizer/tokenizer.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-06-20 22:39:15 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-06-20 22:39:15 +0000
commitf496f5014a909c02f6e3355df226a8e3ffb36695 (patch)
treea52251241785d6bcd95e8015ce19f452540bcc77 /ext/tokenizer/tokenizer.c
parentb7bca610dd5dfa75879d1b5e1508e03adad124dc (diff)
downloadphp-git-f496f5014a909c02f6e3355df226a8e3ffb36695.tar.gz
Removed pointless callbacks.
Diffstat (limited to 'ext/tokenizer/tokenizer.c')
-rw-r--r--ext/tokenizer/tokenizer.c35
1 files changed, 3 insertions, 32 deletions
diff --git a/ext/tokenizer/tokenizer.c b/ext/tokenizer/tokenizer.c
index 8a6b94cdd5..9c0475f2ab 100644
--- a/ext/tokenizer/tokenizer.c
+++ b/ext/tokenizer/tokenizer.c
@@ -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)