On Thu, Jun 26, 2014 at 12:35:53PM +0200, Denys Vlasenko wrote:
> On Thu, Jun 26, 2014 at 12:00 PM, Bartosz Gołaszewski
> <[email protected]> wrote:
> > 2014-06-22 16:31 GMT+02:00 Denys Vlasenko <[email protected]>:
> >> Applied all patches with some editing.
> >> Thanks a lot!
> >
> > Hi Denys,
> >
> > I see, that you removed the INIT_FIRST macro from my implementation.
> > Are you sure llist_t *tests will always be initialized before calling
> > the test registering functions?
> 
> Global data is initialized to zero at program load time.

And even if you need a non-zero initial value, static initialization
is usually suitable; there's no need for code for this kind of thing.

Rich
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to