iliaa Tue Jun 20 22:42:42 2006 UTC Modified files: /php-src/ext/tokenizer tokenizer.c php_tokenizer.h Log: MFB: Removed pointless callbacks. http://cvs.php.net/viewvc.cgi/php-src/ext/tokenizer/tokenizer.c?r1=1.37&r2=1.38&diff_format=u Index: php-src/ext/tokenizer/tokenizer.c diff -u php-src/ext/tokenizer/tokenizer.c:1.37 php-src/ext/tokenizer/tokenizer.c:1.38 --- php-src/ext/tokenizer/tokenizer.c:1.37 Tue Jun 13 13:12:20 2006 +++ php-src/ext/tokenizer/tokenizer.c Tue Jun 20 22:42:42 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: tokenizer.c,v 1.37 2006/06/13 13:12:20 dmitry Exp $ */ +/* $Id: tokenizer.c,v 1.38 2006/06/20 22:42:42 iliaa Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -119,9 +119,9 @@ "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_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) http://cvs.php.net/viewvc.cgi/php-src/ext/tokenizer/php_tokenizer.h?r1=1.10&r2=1.11&diff_format=u Index: php-src/ext/tokenizer/php_tokenizer.h diff -u php-src/ext/tokenizer/php_tokenizer.h:1.10 php-src/ext/tokenizer/php_tokenizer.h:1.11 --- php-src/ext/tokenizer/php_tokenizer.h:1.10 Sun Jan 1 13:09:56 2006 +++ php-src/ext/tokenizer/php_tokenizer.h Tue Jun 20 22:42:42 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_tokenizer.h,v 1.10 2006/01/01 13:09:56 sniper Exp $ */ +/* $Id: php_tokenizer.h,v 1.11 2006/06/20 22:42:42 iliaa Exp $ */ #ifndef PHP_TOKENIZER_H #define PHP_TOKENIZER_H @@ -35,9 +35,6 @@ #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. */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php