summaryrefslogtreecommitdiff
path: root/tdb
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-12-03 21:45:20 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:05 -0700
commit9c9fb5f6eb47794dc5516e5b3d162bdc3b4ec7da (patch)
tree009b982bf6aaed8145b91c1bc5d02568ec3bc72f /tdb
parentfc1f0d43267be8bfc1a4afd79532e081921589e1 (diff)
downloadsystemd-9c9fb5f6eb47794dc5516e5b3d162bdc3b4ec7da.tar.gz
[PATCH] fix some compiler warnings in the tdb code.
Diffstat (limited to 'tdb')
-rw-r--r--tdb/tdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tdb/tdb.h b/tdb/tdb.h
index e236b31af5..839d5b1516 100644
--- a/tdb/tdb.h
+++ b/tdb/tdb.h
@@ -136,6 +136,10 @@ int tdb_chainunlock(TDB_CONTEXT *tdb, TDB_DATA key);
void tdb_dump_all(TDB_CONTEXT *tdb);
int tdb_printfreelist(TDB_CONTEXT *tdb);
+/* used only in tdbutil.c */
+int tdb_chainlock_read(TDB_CONTEXT *tdb, TDB_DATA key);
+int tdb_chainunlock_read(TDB_CONTEXT *tdb, TDB_DATA key);
+
extern TDB_DATA tdb_null;
#ifdef __cplusplus