From owner-freebsd-current Mon Feb 11 9: 2: 4 2002 Delivered-To: freebsd-current@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by hub.freebsd.org (Postfix) with ESMTP id B510B37B416; Mon, 11 Feb 2002 09:02:01 -0800 (PST) Received: from pool0378.cvx22-bradley.dialup.earthlink.net ([209.179.199.123] helo=mindspring.com) by harrier.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16aJpw-0000zP-00; Mon, 11 Feb 2002 09:01:53 -0800 Message-ID: <3C67F8F2.EB36BA9A@mindspring.com> Date: Mon, 11 Feb 2002 09:01:38 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Daniel Eischen Cc: Bruce Evans , Kevin Day , current@FreeBSD.ORG, bde@FreeBSD.ORG Subject: Re: function name collision on "getcontext" with ports/editors/joe References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Daniel Eischen wrote: > It breaks more than that. Applications that just want to use > sigaction, sigaltstack, etc, only need to include , > but that also defines sigreturn as: > > int sigreturn __P((ucontext_t *)); > > 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. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message