[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Document setup_common_bufsiz() and common_bufsiz.h
From:       Explorer <explorer09 () gmail ! com>
Date:       2016-06-23 14:44:36
Message-ID: CADDzAfOcCH1duERYPZbrLcCs=BR-yFqouc_Cx_BXZD9y6QoOKA () mail ! gmail ! com
[Download RAW message or body]

On Thu, Jun 23, 2016 at 10:24 PM, Explorer <explorer09@gmail.com> 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
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic