[ofw] svn.1936 commits

Smith, Stan stan.smith at intel.com
Mon Feb 9 18:14:27 PST 2009


Ulp\libibmad\include\infiniband\mad.h

Added MAD_EXPORT for xdump & smp_query_via needed by ibtracert & ibroute.

Signed off by stan.smith at intel.com

diff U3 C:/Documents and Settings/scsmith/Local Settings/Temp/mad.h-revBASE.svn000.tmp.h C:/Documents and Settings/scsmith/My Documents/openIB-windows/SVN/gen1/trunk/ulp/libibmad/include/infiniband/mad.h
--- C:/Documents and Settings/scsmith/Local Settings/Temp/mad.h-revBASE.svn000.tmp.h    Mon Feb 09 16:36:46 2009
+++ C:/Documents and Settings/scsmith/My Documents/openIB-windows/SVN/gen1/trunk/ulp/libibmad/include/infiniband/mad.h  Mon Feb 09 15:55:43 2009
@@ -710,7 +710,7 @@
                              unsigned mod, unsigned timeout);
 MAD_EXPORT uint8_t *smp_set(void *buf, ib_portid_t * id, unsigned attrid,
                            unsigned mod, unsigned timeout);
-uint8_t *smp_query_via(void *buf, ib_portid_t * id, unsigned attrid,
+MAD_EXPORT uint8_t *smp_query_via(void *buf, ib_portid_t * id, unsigned attrid,
                       unsigned mod, unsigned timeout, const void *srcport);
 uint8_t *smp_set_via(void *buf, ib_portid_t * id, unsigned attrid, unsigned mod,
                     unsigned timeout, const void *srcport);
@@ -837,7 +837,7 @@
        exit(-1); \
 } while(0)

-void xdump(FILE * file, char *msg, void *p, int size);
+MAD_EXPORT void xdump(FILE * file, char *msg, void *p, int size);

 END_C_DECLS
 #endif                         /* _MAD_H_ */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mad.h.patch
Type: application/octet-stream
Size: 1214 bytes
Desc: mad.h.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20090209/08327e70/attachment.obj>


More information about the ofw mailing list