diff options
author | Ard Biesheuvel <abies@php.net> | 2004-06-12 20:52:07 +0000 |
---|---|---|
committer | Ard Biesheuvel <abies@php.net> | 2004-06-12 20:52:07 +0000 |
commit | c84c5640e7f38cab0c55fe599259352f2cd66f9e (patch) | |
tree | ad397d59d887dd73218ee88b0b4ec88c2087e5a7 | |
parent | 6b3cda310a7deccc67cee73ec6cb84a43eb78e21 (diff) | |
download | php-git-c84c5640e7f38cab0c55fe599259352f2cd66f9e.tar.gz |
Revert
-rw-r--r-- | ext/interbase/ibase_query.c | 2 | ||||
-rw-r--r-- | ext/interbase/php_interbase.h | 15 |
2 files changed, 1 insertions, 16 deletions
diff --git a/ext/interbase/ibase_query.c b/ext/interbase/ibase_query.c index 36cae02f87..09bbb1313c 100644 --- a/ext/interbase/ibase_query.c +++ b/ext/interbase/ibase_query.c @@ -1279,7 +1279,7 @@ PHP_FUNCTION(ibase_num_rows) #endif /* }}} */ -FB_API int _php_ibase_var_zval(zval *val, void *data, int type, int len, /* {{{ */ +static int _php_ibase_var_zval(zval *val, void *data, int type, int len, /* {{{ */ int scale, int flag TSRMLS_DC) { static ISC_INT64 const scales[] = { 1, 10, 100, 1000, 10000, 100000, 1000000, 100000000, 1000000000, diff --git a/ext/interbase/php_interbase.h b/ext/interbase/php_interbase.h index b314c3a896..1469b2a4bd 100644 --- a/ext/interbase/php_interbase.h +++ b/ext/interbase/php_interbase.h @@ -23,18 +23,6 @@ #ifndef PHP_INTERBASE_H #define PHP_INTERBASE_H -#ifdef PHP_WIN32 -# ifdef INTERBASE_EXPORTS -# define FB_API __declspec(dllexport) -# elif defined(COMPILE_DL_INTERBASE) -# define FB_API __declspec(dllimport) -# else -# define FB_API /* nothing special */ -# endif -#else -# define INTERBASE_API /* nothing special */ -#endif - extern zend_module_entry ibase_module_entry; #define phpext_interbase_ptr &ibase_module_entry @@ -61,7 +49,6 @@ PHP_FUNCTION(ibase_free_query); PHP_FUNCTION(ibase_timefmt); PHP_FUNCTION(ibase_gen_id); -PHP_FUNCTION(ibase_insert_id); PHP_FUNCTION(ibase_num_fields); PHP_FUNCTION(ibase_num_params); #if abies_0 @@ -106,8 +93,6 @@ PHP_FUNCTION(ibase_wait_event); PHP_FUNCTION(ibase_set_event_handler); PHP_FUNCTION(ibase_free_event_handler); -FB_API int php_ibase_var_zval(zval *, void *, int, int, int, int TSRMLS_DC); - #else #define phpext_interbase_ptr NULL |