From owner-freebsd-hackers Mon Aug 20 17:57:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (dsl092-013-169.sfo1.dsl.speakeasy.net [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id B367E37B407; Mon, 20 Aug 2001 17:57:43 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.5/8.11.1) id f7L0vhG39115; Mon, 20 Aug 2001 17:57:43 -0700 (PDT) (envelope-from obrien) Date: Mon, 20 Aug 2001 17:57:43 -0700 From: "David O'Brien" To: hackers@freebsd.org Subject: header polution Message-ID: <20010820175743.A33795@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG When compiling the `dict' port, one gets: In file included from /usr/include/machine/signal.h:54, from /usr/include/sys/signal.h:178, from /usr/include/signal.h:44, from dict.h:33, from clientparse.y:25: /usr/include/machine/trap.h:105: warning: `T_USER' redefined This seems very wrong. Can't we rename "T_USER" in the kernel to "_T_USER", or wrap it in _KERNEL? The comment in machine/signal.h(x86) says: #include /* codes for SIGILL, SIGFPE */ but does that mean we must expose the entire contents of trap.h to userland? The problem is T_ is very common in lex source. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message