Re: [Patch 1/2] CLD: export a common timer implementation

Colin McCabe <[email protected]>
Newsgroups org.kernel.vger.hail-devel
Message-ID <[email protected]>
On Fri, Jan 15, 2010 at 11:07 PM, Pete Zaitcev <[email protected]> wrote:
> Although we share the libtimer.a among the parts that can link it
> statically, it turned out impossible to use from inside of libcldc
> as it was. So, this patch makes it available to library code by
> linking it in the same way we use libcommon.c already.
>
> But if we do that, timer_add and friends become visible to all
> users of libcldc, so rename them with cld_ prefix in order to
> reduce namespace pollution.

Nice change, makes a lot of sense.
Of course, we should standardize on either "cld", or "__cld" for the
library-internal prefix.
(I think I used __cld in my patch yesterday)

Colin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.