From d68654ba5e84df3cec6a915998d3848fe92d9270 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 29 Apr 2009 18:03:03 +0200 Subject: ping_pong: reduce a couple of prototype warnings Michael (This used to be ctdb commit fce851621fe2099c9692acfbfaade24c3d69727a) --- ctdb/utils/ping_pong/ping_pong.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ctdb/utils') diff --git a/ctdb/utils/ping_pong/ping_pong.c b/ctdb/utils/ping_pong/ping_pong.c index 8511d957e5f..0c2a3b74cbd 100644 --- a/ctdb/utils/ping_pong/ping_pong.c +++ b/ctdb/utils/ping_pong/ping_pong.c @@ -23,12 +23,12 @@ static struct timeval tp1,tp2; static int do_reads, do_writes, use_mmap; -static void start_timer() +static void start_timer(void) { gettimeofday(&tp1,NULL); } -static double end_timer() +static double end_timer(void) { gettimeofday(&tp2,NULL); return (tp2.tv_sec + (tp2.tv_usec*1.0e-6)) - -- cgit v1.2.1