chiark / gitweb /
[PATCH] fix some compiler warnings in the tdb code.
authorgreg@kroah.com <greg@kroah.com>
Thu, 4 Dec 2003 05:45:20 +0000 (21:45 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:05 +0000 (21:13 -0700)
tdb/tdb.h

index e236b31..839d5b1 100644 (file)
--- 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