From owner-freebsd-current Tue Feb 12 2:24:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 1DBDD37B421; Tue, 12 Feb 2002 02:24:42 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id VAA16327; Tue, 12 Feb 2002 21:20:53 +1100 Date: Tue, 12 Feb 2002 21:23:46 +1100 (EST) From: Bruce Evans X-X-Sender: To: Daniel Eischen Cc: Terry Lambert , Kevin Day , , Subject: Re: function name collision on "getcontext" with ports/editors/joe In-Reply-To: Message-ID: <20020212212126.F3838-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 11 Feb 2002, Daniel Eischen wrote: > On Mon, 11 Feb 2002, Terry Lambert wrote: > > Daniel Eischen wrote: > > > Removing from prevents ucontext_t > > > from being defined, so all users of would choke. > > > > > > We can change the prototype of sigreturn back to struct sigcontext *, > > > or just forward declare ucontext_t in or . > > > > Forward declare it. People who need its internals will > > include the proper header. That header is traditionally :-). > 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 majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message