mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
ping_pong: reduce a couple of prototype warnings
Michael (This used to be ctdb commit fce851621fe2099c9692acfbfaade24c3d69727a)
This commit is contained in:
parent
73913bb7c5
commit
d68654ba5e
@ -23,12 +23,12 @@ static struct timeval tp1,tp2;
|
|||||||
|
|
||||||
static int do_reads, do_writes, use_mmap;
|
static int do_reads, do_writes, use_mmap;
|
||||||
|
|
||||||
static void start_timer()
|
static void start_timer(void)
|
||||||
{
|
{
|
||||||
gettimeofday(&tp1,NULL);
|
gettimeofday(&tp1,NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static double end_timer()
|
static double end_timer(void)
|
||||||
{
|
{
|
||||||
gettimeofday(&tp2,NULL);
|
gettimeofday(&tp2,NULL);
|
||||||
return (tp2.tv_sec + (tp2.tv_usec*1.0e-6)) -
|
return (tp2.tv_sec + (tp2.tv_usec*1.0e-6)) -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user