diff options
| author | Zeev Suraski <zeev@php.net> | 2001-07-30 01:56:43 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-07-30 01:56:43 +0000 |
| commit | 1c25b8dd532961ecb09932b182457ca0adcf8b57 (patch) | |
| tree | 2996afec821096218156f1d914301ad589edf897 /ext/interbase | |
| parent | b57703825be0ff40d34ee257ce14c453c4bffb98 (diff) | |
| download | php-git-1c25b8dd532961ecb09932b182457ca0adcf8b57.tar.gz | |
Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way
Diffstat (limited to 'ext/interbase')
| -rw-r--r-- | ext/interbase/interbase.c | 2 | ||||
| -rw-r--r-- | ext/interbase/php_interbase.h | 8 |
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); |
