[ofw] [PATCH] ib-mgmt/libibmad: export ibdebug

Sean Hefty sean.hefty at intel.com
Mon May 4 15:50:53 PDT 2009


The ibdebug variable is shared between libraries and applications.  We
need to export it for WinOF.

Signed-off-by: Sean Hefty <sean.hefty at intel.com>
---

 libibmad/include/infiniband/mad.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libibmad/include/infiniband/mad.h b/libibmad/include/infiniband/mad.h
index 432710a..b404816 100644
--- a/libibmad/include/infiniband/mad.h
+++ b/libibmad/include/infiniband/mad.h
@@ -937,7 +937,7 @@ MAD_EXPORT ib_mad_dump_fn
     mad_dump_switchinfo, mad_dump_perfcounters, mad_dump_perfcounters_ext,
     mad_dump_perfcounters_xmt_sl, mad_dump_perfcounters_rcv_sl;
 
-extern int ibdebug;
+MAD_EXPORT int ibdebug;
 
 #if __BYTE_ORDER == __LITTLE_ENDIAN
 #ifndef ntohll






More information about the ofw mailing list