r22081: transaction_brlock() should be static
authorAndrew Tridgell <tridge@samba.org>
Thu, 5 Apr 2007 03:22:08 +0000 (03:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:49:48 +0000 (14:49 -0500)
thanks to Ted T'so for pointing this out

source/lib/tdb/common/transaction.c

index eb296206f9f4be905a6f33bd54172c80b6a2d5af..a592c66039ffb32fa5c2bc4b77d99390282c41a5 100644 (file)
@@ -358,8 +358,8 @@ static int transaction_expand_file(struct tdb_context *tdb, tdb_off_t size,
 /*
   brlock during a transaction - ignore them
 */
-int transaction_brlock(struct tdb_context *tdb, tdb_off_t offset, 
-                      int rw_type, int lck_type, int probe, size_t len)
+static int transaction_brlock(struct tdb_context *tdb, tdb_off_t offset, 
+                             int rw_type, int lck_type, int probe, size_t len)
 {
        return 0;
 }