Thread (1 message) 1 message, 1 author, 2011-09-21

Re: [PATCH] infiniband-diags: ibnetdisc Wrap header for use in C++ code

From: Bart Van Assche <hidden>
Date: 2011-09-21 10:11:04

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help