[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130407094345.GA24908@macbook.localnet>
Date: Sun, 7 Apr 2013 11:43:45 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Bart Van Assche <bvanassche@....org>
Cc: jon.maloy@...csson.com, allan.stephens@...driver.com,
netdev@...r.kernel.org, roland@...nel.org, sean.hefty@...el.com,
hal.rosenstock@...il.com, linux-rdma@...r.kernel.org
Subject: Re: [PATCH 4/5] tipc: add InfiniBand media type
On Sun, Apr 07, 2013 at 11:19:06AM +0200, Bart Van Assche wrote:
> 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.
Oops right, I'll fix that up.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists