On 04/03/13 14:43, Patrick McHardy wrote:
diff --git a/net/tipc/bearer.h b/net/tipc/bearer.h
+#ifdef CONFIG_TIPC_MEDIA_IB
+int  tipc_ib_media_start(void);
+void tipc_ib_media_stop(void);
+#else
+int  tipc_ib_media_start(void) { return 0; }
+void tipc_ib_media_stop(void)  { return; }
+#endif

Is the above a definition of a non-inline function pair in a header file ? I'm afraid that will cause trouble when including that header file in more than one source file.

Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to