This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Backtrace library [1/3]
On Wed, Sep 12, 2012 at 10:31 AM, Lawrence Crowl <crowl@googlers.com> wrote:
>
> How about typing it as a pointer to an incomplete struct?
>
> extern void *backtrace_create_state (...
>
> becomes, e.g.,
>
> struct backtrace_state;
> extern backtrace_state *backtrace_create_state (...
Yeah, that is probably the way to do it. I made that change. I won't
bother to send around the patches again.
Ian