summaryrefslogtreecommitdiff
path: root/ext/tokenizer
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-06-20 22:42:42 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-06-20 22:42:42 +0000
commite6543cd7dcf38d101d5995f3fd79e820b6c703a8 (patch)
treee44747cf2fe2b697e03c029530302af1d4901fd2 /ext/tokenizer
parentb5fda0101c28110aeff68d66cca9301b909616cc (diff)
downloadphp-git-e6543cd7dcf38d101d5995f3fd79e820b6c703a8.tar.gz
MFB: Removed pointless callbacks.
Diffstat (limited to 'ext/tokenizer')
-rw-r--r--ext/tokenizer/php_tokenizer.h3
-rw-r--r--ext/tokenizer/tokenizer.c35
2 files changed, 3 insertions, 35 deletions
diff --git a/ext/tokenizer/php_tokenizer.h b/ext/tokenizer/php_tokenizer.h
index 6859152608..c9f2979e11 100644
--- a/ext/tokenizer/php_tokenizer.h
+++ b/ext/tokenizer/php_tokenizer.h
@@ -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. */
diff --git a/ext/tokenizer/tokenizer.c b/ext/tokenizer/tokenizer.c
index bb070ed8cc..ba394addb4 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)