X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=gettime.c;h=d78cf6d0ba9281a36ec286c5e6e87843fb49e360;hp=4f6ec955c561cf49b9bfae3740f1c4968d51a0ff;hb=5ec10eaad3b09875b91e19a20bbdfa06f2117562;hpb=130fe6161f5e6d2bb98537affdc1573f676e2764 diff --git a/gettime.c b/gettime.c index 4f6ec955..d78cf6d0 100644 --- a/gettime.c +++ b/gettime.c @@ -6,11 +6,10 @@ #include #include "fio.h" -#include "os.h" #include "hash.h" -static int clock_gettime_works = 0; +static int clock_gettime_works; #ifdef FIO_DEBUG_TIME @@ -81,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); - printf("function %p, calls %lu\n", log->caller, log->calls); + printf("function %p, calls %lu\n", log->caller, + log->calls); total_calls += log->calls; } }