[ofa-general] [PATCH] libibmad: deprecate old API calls

Sasha Khapyorsky sashak at voltaire.com
Wed Mar 11 03:55:59 PDT 2009


Now when libibmad and infiniband-diags interfaces are cleaned we can
deprecate an old not thread safe libibmad API calls.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 libibmad/include/infiniband/mad_osd.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libibmad/include/infiniband/mad_osd.h b/libibmad/include/infiniband/mad_osd.h
index ff43fa7..6315514 100644
--- a/libibmad/include/infiniband/mad_osd.h
+++ b/libibmad/include/infiniband/mad_osd.h
@@ -44,6 +44,6 @@
 #include <arpa/inet.h>
 
 #define MAD_EXPORT
-#define DEPRECATED /* __attribute__ ((deprecated)) */
+#define DEPRECATED __attribute__ ((deprecated))
 
 #endif				/* _MAD_OSD_H_ */
-- 
1.6.1.2.319.gbd9e




More information about the general mailing list