tdb: Set _PUBLIC_ in C file rather than header files (Debian bug 600898)
[ira/wip.git] / lib / tdb / common / dump.c
index 9f770f81a52381d13d339bfff1b8701ca862cc80..67de04e37c655ede265052ec08338369e2156475 100644 (file)
@@ -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;