summaryrefslogtreecommitdiff
path: root/lib/tdb/common/freelist.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-21 11:51:37 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-21 11:47:22 +0000
commit62c4af99428abb2d4ac1b18454d72e0c8cbb67e8 (patch)
tree8fcf54dce83778d5413a60799d9a540a6d4320fc /lib/tdb/common/freelist.c
parent2c0ff5113cd9ef966f9ee3bcc723a6a28f1197da (diff)
downloadsamba-62c4af99428abb2d4ac1b18454d72e0c8cbb67e8.tar.gz
samba-62c4af99428abb2d4ac1b18454d72e0c8cbb67e8.tar.bz2
samba-62c4af99428abb2d4ac1b18454d72e0c8cbb67e8.zip
tdb: Set _PUBLIC_ in C file rather than header files (Debian bug 600898)
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 21 11:47:22 UTC 2010 on sn-devel-104
Diffstat (limited to 'lib/tdb/common/freelist.c')
-rw-r--r--lib/tdb/common/freelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/common/freelist.c b/lib/tdb/common/freelist.c
index 79e3c344b8..927078a7aa 100644
--- a/lib/tdb/common/freelist.c
+++ b/lib/tdb/common/freelist.c
@@ -367,7 +367,7 @@ tdb_off_t tdb_allocate(struct tdb_context *tdb, tdb_len_t length, struct tdb_rec
/*
return the size of the freelist - used to decide if we should repack
*/
-int tdb_freelist_size(struct tdb_context *tdb)
+_PUBLIC_ int tdb_freelist_size(struct tdb_context *tdb)
{
tdb_off_t ptr;
int count=0;