[Toybox] Any language lawyers here?

Rob Landley rob at landley.net
Thu Feb 23 07:22:43 PST 2012


On 02/22/2012 09:36 AM, Daniel Walter wrote:
> Why don't you put the array into a header-file ?

Because I don't want multiple copies of the array compiled into the
binary and don't trust the compiler to merge them properly.

What I wound up doing was moving the array into lib/lib.c and moving all
the functions that access that array (or at least need to call sizeof()
on it) after that in the file.

Rob

 1330010563.0


More information about the Toybox mailing list