ib-diags/ibping: add winof cdecl patch
[mirror/winof/.git] / tools / infiniband-diags / src / ibping.c
index 901079f..7da48e2 100644 (file)
@@ -141,7 +141,7 @@ static uint64_t minrtt = ~0ull, maxrtt, total_rtt;
 static uint64_t start, total_time, replied, lost, ntrans;
 static ib_portid_t portid = {0};
 
-void report(int sig)
+void __cdecl report(int sig)
 {
        total_time = cl_get_time_stamp() - start;