[openib-general] perftest-03: put C code in .c file

Bernhard Fischer blist at aon.at
Wed May 11 09:34:00 PDT 2005


On Wed, May 11, 2005 at 06:25:07PM +0200, Bernhard Fischer wrote:
>On Wed, May 11, 2005 at 08:11:05AM -0700, Grant Grundler wrote:
>>On Wed, May 11, 2005 at 03:00:04PM +0200, Bernhard Fischer wrote:
>>> >-	gcc $(CFLAGS) -o rdma_lat rdma_lat.c -libverbs
>>> 
>>> please replace that gcc with $(CC)
>>
>>yes, good idea. Patch below (perftest-04) removes the line.
>>Applies on top of perftest-03.
>
>With the attached (let's call it perftest-05 as it's on top of -04) it
>links again on i386 (get_clock vs. get_cycles),
>furthermore some sparse warning about non-ANSI fn decls, and 0 vs. NULL.
>Also make pp_client_exch_dest and pp_server_connect static.
>
>Please consider.
>
>Signed-off-by: Bernhard Fischer <rep.nop at aon.com>
s/\.com/\.at/

whatever.



More information about the general mailing list