summaryrefslogtreecommitdiff
path: root/lib/tdb/common/freelistcheck.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/freelistcheck.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/freelistcheck.c')
-rw-r--r--lib/tdb/common/freelistcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/common/freelistcheck.c b/lib/tdb/common/freelistcheck.c
index 8d1ebabe04..ab6e78f02d 100644
--- a/lib/tdb/common/freelistcheck.c
+++ b/lib/tdb/common/freelistcheck.c
@@ -43,7 +43,7 @@ static int seen_insert(struct tdb_context *mem_tdb, tdb_off_t rec_ptr)
return tdb_store(mem_tdb, key, data, TDB_INSERT);
}
-int tdb_validate_freelist(struct tdb_context *tdb, int *pnum_entries)
+_PUBLIC_ int tdb_validate_freelist(struct tdb_context *tdb, int *pnum_entries)
{
struct tdb_context *mem_tdb = NULL;
struct tdb_record rec;