]> granicus.if.org Git - php/commitdiff
No need to export anything. Fixes win32 build
authorEdin Kadribasic <edink@php.net>
Mon, 19 Apr 2004 14:13:41 +0000 (14:13 +0000)
committerEdin Kadribasic <edink@php.net>
Mon, 19 Apr 2004 14:13:41 +0000 (14:13 +0000)
ext/interbase/ibase_blobs.c
ext/interbase/ibase_events.c
ext/interbase/php_ibase_includes.h

index eae2f74ebb5c3fc87695a1123d7676b1524cd48f..f1f71338468086de45135cf563911c6bceb49b49 100644 (file)
@@ -55,7 +55,7 @@ void php_ibase_blobs_minit(INIT_FUNC_ARGS) /* {{{ */
 }
 /* }}} */
 
-PHPAPI int _php_ibase_string_to_quad(char const *id, ISC_QUAD *qd) /* {{{ */
+int _php_ibase_string_to_quad(char const *id, ISC_QUAD *qd) /* {{{ */
 {
        /* shortcut for most common case */
        if (sizeof(ISC_QUAD) == sizeof(ISC_UINT64)) {
@@ -72,7 +72,7 @@ PHPAPI int _php_ibase_string_to_quad(char const *id, ISC_QUAD *qd) /* {{{ */
 }
 /* }}} */
 
-PHPAPI char *_php_ibase_quad_to_string(ISC_QUAD const qd) /* {{{ */
+char *_php_ibase_quad_to_string(ISC_QUAD const qd) /* {{{ */
 {
        char *result = (char *) emalloc(BLOB_ID_LEN+1);
 
@@ -96,7 +96,7 @@ typedef struct { /* {{{ */
 /* }}} */
 } IBASE_BLOBINFO;
 
-PHPAPI int _php_ibase_blob_get(zval *return_value, ibase_blob *ib_blob, unsigned long max_len TSRMLS_DC) /* {{{ */
+int _php_ibase_blob_get(zval *return_value, ibase_blob *ib_blob, unsigned long max_len TSRMLS_DC) /* {{{ */
 {
        if (ib_blob->bl_qd.gds_quad_high || ib_blob->bl_qd.gds_quad_low) { /*not null ?*/
 
@@ -129,7 +129,7 @@ PHPAPI int _php_ibase_blob_get(zval *return_value, ibase_blob *ib_blob, unsigned
 }
 /* }}} */
 
-PHPAPI int _php_ibase_blob_add(zval **string_arg, ibase_blob *ib_blob TSRMLS_DC) /* {{{ */
+int _php_ibase_blob_add(zval **string_arg, ibase_blob *ib_blob TSRMLS_DC) /* {{{ */
 {
        unsigned long put_cnt = 0, rem_cnt;
        unsigned short chunk_size;
index dc8fab36a454162995c342f6ba106b27db3ca6ad..2408c4a989056a05591810e7f47ef63bea0a7a68 100644 (file)
@@ -38,7 +38,7 @@ static void _php_ibase_event_free(char *event_buf, char *result_buf) /* {{{ */
 }
 /* }}} */
 
-PHPAPI void _php_ibase_free_event(ibase_event *event TSRMLS_DC) /* {{{ */
+void _php_ibase_free_event(ibase_event *event TSRMLS_DC) /* {{{ */
 {
        unsigned short i;
 
index d12c1e7ef03986dc46e83adeb2cac636e967fb47..66257ffdfad85641443965ffedd447578f3594a2 100755 (executable)
@@ -191,8 +191,8 @@ typedef void (__stdcall *info_func_t)(char*);
 typedef void (*info_func_t)(char*);
 #endif
 
-PHPAPI void _php_ibase_error(TSRMLS_D);
-PHPAPI void _php_ibase_module_error(char * TSRMLS_DC, ...)
+void _php_ibase_error(TSRMLS_D);
+void _php_ibase_module_error(char * TSRMLS_DC, ...)
        PHP_ATTRIBUTE_FORMAT(printf,1,PHP_ATTR_FMT_OFFSET +2);
 
 /* determine if a resource is a link or transaction handle */
@@ -205,8 +205,8 @@ PHPAPI void _php_ibase_module_error(char * TSRMLS_DC, ...)
                if (SUCCESS != _php_ibase_def_trans(lh, &th TSRMLS_CC)) { RETURN_FALSE; }                       \
        } while (0)
 
-PHPAPI int _php_ibase_def_trans(ibase_db_link *ib_link, ibase_trans **trans TSRMLS_DC);
-PHPAPI void _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAMETERS, zval **link_id,
+int _php_ibase_def_trans(ibase_db_link *ib_link, ibase_trans **trans TSRMLS_DC);
+void _php_ibase_get_link_trans(INTERNAL_FUNCTION_PARAMETERS, zval **link_id,
        ibase_db_link **ib_link, ibase_trans **trans);
 
 /* provided by ibase_query.c */
@@ -214,14 +214,14 @@ void php_ibase_query_minit(INIT_FUNC_ARGS);
 
 /* provided by ibase_blobs.c */
 void php_ibase_blobs_minit(INIT_FUNC_ARGS);
-PHPAPI int _php_ibase_string_to_quad(char const *id, ISC_QUAD *qd);
-PHPAPI char *_php_ibase_quad_to_string(ISC_QUAD const qd);
-PHPAPI int _php_ibase_blob_get(zval *return_value, ibase_blob *ib_blob, unsigned long max_len TSRMLS_DC);
-PHPAPI int _php_ibase_blob_add(zval **string_arg, ibase_blob *ib_blob TSRMLS_DC);
+int _php_ibase_string_to_quad(char const *id, ISC_QUAD *qd);
+char *_php_ibase_quad_to_string(ISC_QUAD const qd);
+int _php_ibase_blob_get(zval *return_value, ibase_blob *ib_blob, unsigned long max_len TSRMLS_DC);
+int _php_ibase_blob_add(zval **string_arg, ibase_blob *ib_blob TSRMLS_DC);
 
 /* provided by ibase_events.c */
 void php_ibase_events_minit(INIT_FUNC_ARGS);
-PHPAPI void _php_ibase_free_event(ibase_event *event TSRMLS_DC);
+void _php_ibase_free_event(ibase_event *event TSRMLS_DC);
 
 /* provided by ibase_service.c */
 void php_ibase_service_minit(INIT_FUNC_ARGS);