On Tue, Sep 20, 2011 at 7:45 PM, Ira Weiny wei...@llnl.gov wrote:
+#ifdef __cplusplus
+extern C {
+#endif
+
#include stdio.h
#include infiniband/mad.h
#include iba/ib_types.h
It is bad style to surround #include directives with 'extern C'.
Bart.
--
To unsubscribe from this list: send
On Wed, 21 Sep 2011 03:11:04 -0700
Bart Van Assche bvanass...@acm.org wrote:
On Tue, Sep 20, 2011 at 7:45 PM, Ira Weiny wei...@llnl.gov wrote:
+#ifdef __cplusplus
+extern C {
+#endif
+
#include stdio.h
#include infiniband/mad.h
#include iba/ib_types.h
It is bad style to
From 4ec00110f416643f6715c89c4776fc9e0ea51d6f Mon Sep 17 00:00:00 2001
From: Ira Weiny wei...@llnl.gov
Date: Mon, 19 Sep 2011 14:05:09 -0700
Signed-off-by: Ira Weiny wei...@llnl.gov
---
libibnetdisc/include/infiniband/ibnetdisc.h |8
1 files changed, 8 insertions(+), 0 deletions(-)