On Mon, 11 Feb 2002, Daniel Eischen wrote: > On Mon, 11 Feb 2002, Terry Lambert wrote: > > Daniel Eischen wrote: > > > Removing <sys/ucontext.h> from <sys/signal.h> prevents ucontext_t > > > from being defined, so all users of <signal.h> would choke. > > > > > > We can change the prototype of sigreturn back to struct sigcontext *, > > > or just forward declare ucontext_t in <signal.h> or <sys/signal.h>. > > > > Forward declare it. People who need its internals will > > include the proper header.
That header is traditionally <signal.h> :-). > How do you easily forward declare something that is a typedef? > You could forward declare struct __ucontext and use a pointer > to that as the argument to sigreturn, but that doesn't seem > right as it is relying on how ucontext_t is defined. This is OK for the implementation -- see other followups. Bruce To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message