[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160109.210330.1628988129816325757.davem@davemloft.net>
Date: Sat, 09 Jan 2016 21:03:30 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: richard.alpe@...csson.com
Cc: netdev@...r.kernel.org, tipc-discussion@...ts.sourceforge.net
Subject: Re: [PATCH net-next v1 1/2] tipc: move netlink policies to
netlink.h
From: Richard Alpe <richard.alpe@...csson.com>
Date: Thu, 7 Jan 2016 11:20:08 +0100
> Do you have any suggestion on how to handle the case where a policy
> (table) is shared between c files, like the net policy in the
> subsequent patch? I could perhaps use extern in the c files (which
> seems frown upon) or duplicate the policy? :-S
Probably you'll need to instantiate it in one source file, and export
it for the others to use.
Powered by blists - more mailing lists