git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73913bb
)
ping_pong: reduce a couple of prototype warnings
author
Michael Adam
<obnox@samba.org>
Wed, 29 Apr 2009 16:03:03 +0000
(18:03 +0200)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Wed, 6 May 2009 00:40:08 +0000
(10:40 +1000)
Michael
(This used to be ctdb commit
fce851621fe2099c9692acfbfaade24c3d69727a
)
ctdb/utils/ping_pong/ping_pong.c
patch
|
blob
|
history
diff --git
a/ctdb/utils/ping_pong/ping_pong.c
b/ctdb/utils/ping_pong/ping_pong.c
index 8511d957e5f006a98c76251cb4bdc2ca68317cf9..0c2a3b74cbd9c4c3ebc1e7f30ee646c10628855d 100644
(file)
--- 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)) -