tests:ctdb_bench: make send_start_messages() static - eliminates compile warning
authorMichael Adam <obnox@samba.org>
Mon, 15 Mar 2010 15:35:39 +0000 (16:35 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 11 May 2010 09:29:45 +0000 (11:29 +0200)
Michael

tests/src/ctdb_bench.c

index 453761d5a140e31e54e2d255b65d30f351e1d209..7d4ebf22557e6d94074fd335fc3e16db926cd9ae 100644 (file)
@@ -103,7 +103,7 @@ static void ring_message_handler(struct ctdb_context *ctdb, uint64_t srvid,
 }
 
 
-void send_start_messages(struct ctdb_context *ctdb, int incr)
+static void send_start_messages(struct ctdb_context *ctdb, int incr)
 {
        /* two messages are injected into the ring, moving
           in opposite directions */