summaryrefslogtreecommitdiff
path: root/ext/dba/libcdb/cdb_make.c
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2002-11-19 01:06:42 +0000
committerEdin Kadribasic <edink@php.net>2002-11-19 01:06:42 +0000
commitff55850562f70b609901864e79856151ff35d57c (patch)
treee175a954e57873e4ad0081e3fff31fcb0a088e28 /ext/dba/libcdb/cdb_make.c
parentb75f2df3d433d9d4fb795a1ce131d54aebeef3f6 (diff)
downloadphp-git-ff55850562f70b609901864e79856151ff35d57c.tar.gz
No need to declare functions used internally by DBA as PHPAPI. This
fixes windows build.
Diffstat (limited to 'ext/dba/libcdb/cdb_make.c')
-rw-r--r--ext/dba/libcdb/cdb_make.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/dba/libcdb/cdb_make.c b/ext/dba/libcdb/cdb_make.c
index 375747f108..4023a154a6 100644
--- a/ext/dba/libcdb/cdb_make.c
+++ b/ext/dba/libcdb/cdb_make.c
@@ -56,7 +56,7 @@ static int cdb_posplus(struct cdb_make *c, uint32 len)
/* }}} */
/* {{{ cdb_make_start */
-PHPAPI int cdb_make_start(struct cdb_make *c, php_stream * f TSRMLS_DC)
+int cdb_make_start(struct cdb_make *c, php_stream * f TSRMLS_DC)
{
c->head = 0;
c->split = 0;
@@ -73,7 +73,7 @@ PHPAPI int cdb_make_start(struct cdb_make *c, php_stream * f TSRMLS_DC)
/* }}} */
/* {{{ cdb_make_addend */
-PHPAPI int cdb_make_addend(struct cdb_make *c, unsigned int keylen, unsigned int datalen, uint32 h TSRMLS_DC)
+int cdb_make_addend(struct cdb_make *c, unsigned int keylen, unsigned int datalen, uint32 h TSRMLS_DC)
{
struct cdb_hplist *head;
@@ -102,7 +102,7 @@ PHPAPI int cdb_make_addend(struct cdb_make *c, unsigned int keylen, unsigned int
/* }}} */
/* {{{ cdb_make_addbegin */
-PHPAPI int cdb_make_addbegin(struct cdb_make *c, unsigned int keylen, unsigned int datalen TSRMLS_DC)
+int cdb_make_addbegin(struct cdb_make *c, unsigned int keylen, unsigned int datalen TSRMLS_DC)
{
char buf[8];
@@ -123,7 +123,7 @@ PHPAPI int cdb_make_addbegin(struct cdb_make *c, unsigned int keylen, unsigned i
}
/* {{{ cdb_make_add */
-PHPAPI int cdb_make_add(struct cdb_make *c,char *key,unsigned int keylen,char *data,unsigned int datalen TSRMLS_DC)
+int cdb_make_add(struct cdb_make *c,char *key,unsigned int keylen,char *data,unsigned int datalen TSRMLS_DC)
{
if (cdb_make_addbegin(c, keylen, datalen TSRMLS_CC) == -1)
return -1;
@@ -136,7 +136,7 @@ PHPAPI int cdb_make_add(struct cdb_make *c,char *key,unsigned int keylen,char *d
/* }}} */
/* {{{ cdb_make_finish */
-PHPAPI int cdb_make_finish(struct cdb_make *c TSRMLS_DC)
+int cdb_make_finish(struct cdb_make *c TSRMLS_DC)
{
char buf[8];
int i;