summaryrefslogtreecommitdiff
path: root/ext/interbase
diff options
context:
space:
mode:
Diffstat (limited to 'ext/interbase')
-rw-r--r--ext/interbase/interbase.c2
-rw-r--r--ext/interbase/php_interbase.h8
2 files changed, 4 insertions, 6 deletions
diff --git a/ext/interbase/interbase.c b/ext/interbase/interbase.c
index b443bd9fa4..fc603f253d 100644
--- a/ext/interbase/interbase.c
+++ b/ext/interbase/interbase.c
@@ -494,8 +494,6 @@ static void php_ibase_init_globals(TSRMLS_D)
PHP_MINIT_FUNCTION(ibase)
{
- TSRMLS_FETCH();
-
ZEND_INIT_MODULE_GLOBALS(ibase, php_ibase_init_globals, NULL);
REGISTER_INI_ENTRIES();
diff --git a/ext/interbase/php_interbase.h b/ext/interbase/php_interbase.h
index d7d4b55817..2200c574c5 100644
--- a/ext/interbase/php_interbase.h
+++ b/ext/interbase/php_interbase.h
@@ -34,10 +34,10 @@ extern zend_module_entry ibase_module_entry;
#define PHP_IBASE_API
#endif
-extern PHP_MINIT_FUNCTION(ibase);
-extern PHP_RINIT_FUNCTION(ibase);
-extern PHP_MSHUTDOWN_FUNCTION(ibase);
-extern PHP_RSHUTDOWN_FUNCTION(ibase);
+PHP_MINIT_FUNCTION(ibase);
+PHP_RINIT_FUNCTION(ibase);
+PHP_MSHUTDOWN_FUNCTION(ibase);
+PHP_RSHUTDOWN_FUNCTION(ibase);
PHP_MINFO_FUNCTION(ibase);
PHP_FUNCTION(ibase_connect);