2014-06-26 14:12 GMT+02:00 Rich Felker <[email protected]>:
> On Thu, Jun 26, 2014 at 12:35:53PM +0200, Denys Vlasenko wrote:
>> 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

I wasn't sure of that, thanks.

If we only use the INIT_LAST macro, I propose to rename it to
INIT_FUNC and not use the priority argument for constructor attribute.
Please see the patch in attachment.

Bartosz Gołaszewski

Attachment: 0001-Rename-INIT_LAST-to-INIT_FUNC-to-avoid-confusion.patch
Description: Binary data

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

Reply via email to