On Tue, Sep 20, 2011 at 7:45 PM, Ira Weiny [off-list ref] 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 the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html