summaryrefslogtreecommitdiff
path: root/lib/tdb/common/dump.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/dump.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/dump.c')
-rw-r--r--lib/tdb/common/dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tdb/common/dump.c b/lib/tdb/common/dump.c
index 9f770f81a5..67de04e37c 100644
--- a/lib/tdb/common/dump.c
+++ b/lib/tdb/common/dump.c
@@ -80,7 +80,7 @@ static int tdb_dump_chain(struct tdb_context *tdb, int i)
return tdb_unlock(tdb, i, F_WRLCK);
}
-void tdb_dump_all(struct tdb_context *tdb)
+_PUBLIC_ void tdb_dump_all(struct tdb_context *tdb)
{
int i;
for (i=0;i<tdb->header.hash_size;i++) {
@@ -90,7 +90,7 @@ void tdb_dump_all(struct tdb_context *tdb)
tdb_dump_chain(tdb, -1);
}
-int tdb_printfreelist(struct tdb_context *tdb)
+_PUBLIC_ int tdb_printfreelist(struct tdb_context *tdb)
{
int ret;
long total_free = 0;