ib-diags/ibping: add winof cdecl patch
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 27 May 2009 19:36:09 +0000 (19:36 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Wed, 27 May 2009 19:36:09 +0000 (19:36 +0000)
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2216 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

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;