From: Ard Biesheuvel Date: Sat, 12 Jun 2004 20:52:07 +0000 (+0000) Subject: Revert X-Git-Tag: php-5.0.0~210 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c84c5640e7f38cab0c55fe599259352f2cd66f9e;p=php Revert --- 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