This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: conflict wrt. sigcontext definitions and use
- From: Roland McGrath <roland at hack dot frob dot com>
- To: David Miller <davem at davemloft dot net>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 13 Jan 2015 10:33:27 -0800 (PST)
- Subject: Re: conflict wrt. sigcontext definitions and use
- Authentication-results: sourceware.org; auth=none
- References: <20150112 dot 133756 dot 545927924497341987 dot davem at davemloft dot net>
> Any suggestions? Is protecting the __sigreturn() declaration with
> __USE_MISC the right thing to do?
That's probably the most right thing to do. The other thing that is easy
and sufficient is to just put a struct forward declaration right there.