projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Silence warning on older gcc (bogus)
[fio.git]
/
gettime.c
diff --git
a/gettime.c
b/gettime.c
index 136c02c15af797bc9057ea10a1511f1d79e856a4..d78cf6d0ba9281a36ec286c5e6e87843fb49e360 100644
(file)
--- a/
gettime.c
+++ b/
gettime.c
@@
-9,7
+9,7
@@
#include "hash.h"
#include "hash.h"
-static int clock_gettime_works
= 0
;
+static int clock_gettime_works;
#ifdef FIO_DEBUG_TIME
#ifdef FIO_DEBUG_TIME
@@
-80,7
+80,8
@@
static void fio_exit fio_dump_gtod(void)
list_for_each(entry, &hash[i]) {
log = list_entry(entry, struct gtod_log, list);
list_for_each(entry, &hash[i]) {
log = list_entry(entry, struct gtod_log, list);
- printf("function %p, calls %lu\n", log->caller, log->calls);
+ printf("function %p, calls %lu\n", log->caller,
+ log->calls);
total_calls += log->calls;
}
}
total_calls += log->calls;
}
}