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