[IBMAD] export xdump() & smp_query_via()
authorstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 10 Feb 2009 01:34:15 +0000 (01:34 +0000)
committerstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 10 Feb 2009 01:34:15 +0000 (01:34 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1934 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/libibmad/include/infiniband/mad.h

index 9ff4a3e..c23f198 100644 (file)
@@ -710,7 +710,7 @@ MAD_EXPORT uint8_t *smp_query(void *buf, ib_portid_t * id, unsigned attrid,
                              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 @@ static inline uint64_t htonll(uint64_t x)
        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_ */