[ofa-general] Re: [RFC PATCH] Rename ib_gid_t in mad.h to mad_gid_t to prevent name collision with ib_types.h

Sasha Khapyorsky sashak at voltaire.com
Sun Mar 9 18:53:19 PDT 2008


On 18:30 Thu 06 Mar     , Ira Weiny wrote:
> 
> Ok, I added that as well, but that only reports a compile error when someone
> uses it.  Without the USE_DEPRECATED_IB_GID_T macro "ib_gid_t" still conflicts
> with ib_types.h.  I really want to fix that problem.  What I like about the
> macro is if someone has a lot of uses in their code this gives them an easy way
> to compile against the new version.
> 
> Make sense?

Looks fine for me.

> From 44aae47f104441d921f10ded20800e796d0657d2 Mon Sep 17 00:00:00 2001
> From: Ira K. Weiny <weiny2 at llnl.gov>
> Date: Wed, 5 Mar 2008 17:25:33 -0800
> Subject: [PATCH] Rename ib_gid_t in mad.h to ibmad_gid_t to prevent name collision with ib_types.h
> 
> 
> Signed-off-by: Ira K. Weiny <weiny2 at llnl.gov>

Applied. Thanks.

Sasha



More information about the general mailing list