summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2007-05-19 17:58:22 +0000
committerIlia Alshanetsky <iliaa@php.net>2007-05-19 17:58:22 +0000
commit9db4812366860d36956d58c03df1804e6330f8f1 (patch)
treed244aa90a41c53f89eff34cebf8217ca89996d44
parentc8a694eb4574e4e7d71d5836b8dc87ee95b6c08b (diff)
downloadphp-git-9db4812366860d36956d58c03df1804e6330f8f1.tar.gz
Remove pointless RINIT
-rw-r--r--ext/sockets/php_sockets.h1
-rw-r--r--ext/sockets/sockets.c9
-rw-r--r--ext/sqlite/php_sqlite.h1
-rw-r--r--ext/sqlite/sqlite.c7
4 files changed, 2 insertions, 16 deletions
diff --git a/ext/sockets/php_sockets.h b/ext/sockets/php_sockets.h
index b3f49a0f93..b89f4f6eb4 100644
--- a/ext/sockets/php_sockets.h
+++ b/ext/sockets/php_sockets.h
@@ -41,7 +41,6 @@ extern zend_module_entry sockets_module_entry;
PHP_MINIT_FUNCTION(sockets);
PHP_MINFO_FUNCTION(sockets);
-PHP_RINIT_FUNCTION(sockets);
PHP_RSHUTDOWN_FUNCTION(sockets);
PHP_FUNCTION(socket_select);
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c
index 9c1a691f52..98917ad5b6 100644
--- a/ext/sockets/sockets.c
+++ b/ext/sockets/sockets.c
@@ -158,7 +158,7 @@ zend_module_entry sockets_module_entry = {
sockets_functions,
PHP_MINIT(sockets),
NULL,
- PHP_RINIT(sockets),
+ NULL,
PHP_RSHUTDOWN(sockets),
PHP_MINFO(sockets),
NO_VERSION_YET,
@@ -515,13 +515,6 @@ PHP_MINFO_FUNCTION(sockets)
}
/* }}} */
-/* {{{ PHP_RINIT_FUNCTION */
-PHP_RINIT_FUNCTION(sockets)
-{
- return SUCCESS;
-}
-/* }}} */
-
/* {{{ PHP_RSHUTDOWN_FUNCTION */
PHP_RSHUTDOWN_FUNCTION(sockets)
{
diff --git a/ext/sqlite/php_sqlite.h b/ext/sqlite/php_sqlite.h
index d8af2f2f55..235c58e5d6 100644
--- a/ext/sqlite/php_sqlite.h
+++ b/ext/sqlite/php_sqlite.h
@@ -38,7 +38,6 @@ extern zend_module_entry sqlite_module_entry;
PHP_MINIT_FUNCTION(sqlite);
PHP_MSHUTDOWN_FUNCTION(sqlite);
-PHP_RINIT_FUNCTION(sqlite);
PHP_RSHUTDOWN_FUNCTION(sqlite);
PHP_MINFO_FUNCTION(sqlite);
diff --git a/ext/sqlite/sqlite.c b/ext/sqlite/sqlite.c
index 93d62cfa93..cbf80a290e 100644
--- a/ext/sqlite/sqlite.c
+++ b/ext/sqlite/sqlite.c
@@ -295,7 +295,7 @@ zend_module_entry sqlite_module_entry = {
sqlite_functions,
PHP_MINIT(sqlite),
PHP_MSHUTDOWN(sqlite),
- PHP_RINIT(sqlite),
+ NULL,
PHP_RSHUTDOWN(sqlite),
PHP_MINFO(sqlite),
#if ZEND_MODULE_API_NO >= 20010901
@@ -1124,11 +1124,6 @@ PHP_MSHUTDOWN_FUNCTION(sqlite)
return SUCCESS;
}
-PHP_RINIT_FUNCTION(sqlite)
-{
- return SUCCESS;
-}
-
PHP_MINFO_FUNCTION(sqlite)
{
php_info_print_table_start();