summaryrefslogtreecommitdiff
path: root/ctdb/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-04-29 18:03:03 +0200
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2009-05-06 10:40:08 +1000
commitd68654ba5e84df3cec6a915998d3848fe92d9270 (patch)
tree36739cf00a0c282601bc4282c9f71f3a7d8aeadb /ctdb/utils
parent73913bb7c506613551144f70a78d08633caade02 (diff)
downloadsamba-d68654ba5e84df3cec6a915998d3848fe92d9270.tar.gz
ping_pong: reduce a couple of prototype warnings
Michael (This used to be ctdb commit fce851621fe2099c9692acfbfaade24c3d69727a)
Diffstat (limited to 'ctdb/utils')
-rw-r--r--ctdb/utils/ping_pong/ping_pong.c4
1 files changed, 2 insertions, 2 deletions
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)) -