static-functions revision 106ad96daee151064aa44a857f82ba10c8258b40
1951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. ChenIndex: tdb/tdb.c
2951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen===================================================================
3951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen--- tdb.orig/tdb.c	2007-04-04 20:40:06.000000000 -0400
4951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen+++ tdb/tdb.c	2007-04-04 20:40:08.000000000 -0400
5951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen@@ -1423,8 +1423,8 @@
6951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen /*
7951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen   brlock during a transaction - ignore them
8951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen */
9951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen-int transaction_brlock(struct tdb_context *tdb, tdb_off_t offset, 
10951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen-		       int rw_type, int lck_type, int probe, size_t len)
11951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen+static int transaction_brlock(struct tdb_context *tdb, tdb_off_t offset,
12951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen+			      int rw_type, int lck_type, int probe, size_t len)
13951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen {
14951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen 	return 0;
15951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen }
16e5167f88f3734a048dc44199f3fff0432589db43Elliott Hughes@@ -2118,7 +2118,7 @@
17e5167f88f3734a048dc44199f3fff0432589db43Elliott Hughes /* file: freelist.c */
18951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen 
19951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen /* read a freelist record and check for simple errors */
20951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen-int rec_free_read(struct tdb_context *tdb, tdb_off_t off, struct list_struct *rec)
21951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen+static int rec_free_read(struct tdb_context *tdb, tdb_off_t off, struct list_struct *rec)
22951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen {
23951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen 	if (tdb->methods->tdb_read(tdb, off, rec, sizeof(*rec),DOCONV()) == -1)
24951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen 		return -1;
25951bd8d1ad9581a414e171ad8605a9515d0ad667Mike J. Chen