On Thu, Jun 23, 2016 at 10:24 PM, Explorer <[email protected]> wrote:
> Since busybox-1.25.0, using bb_common_bufsiz1 now requires a setup and
> inclusion of a generated header. It's better to document such things for
> people who write new applet code. Otherwise, it will make a compile error.
> ("error: ‘bb_common_bufsiz1’ undeclared")
>

Oops. I missed one thing on my example patch in the last mail.

> #define G (*(struct globals*)&bb_common_bufsiz1)

The '&' should be removed now in the document, so it should be:

    #define G (*(struct globals*)bb_common_bufsiz1)
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to