]> granicus.if.org Git - php/commitdiff
Revert
authorArd Biesheuvel <abies@php.net>
Sat, 12 Jun 2004 20:52:07 +0000 (20:52 +0000)
committerArd Biesheuvel <abies@php.net>
Sat, 12 Jun 2004 20:52:07 +0000 (20:52 +0000)
ext/interbase/ibase_query.c
ext/interbase/php_interbase.h

index 36cae02f87292861c629c79655e0e197a1aebbb3..09bbb1313c6134bdc4857fcc0888748f97169ce9 100644 (file)
@@ -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, 
index b314c3a89685e5312d119900e9534573279e13d2..1469b2a4bd633d2de638d7ba6fc6ff3c7cec2e3d 100644 (file)
 #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