From owner-cvs-all Tue Apr 9 21:53:42 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 39B7B37B404; Tue, 9 Apr 2002 21:53:38 -0700 (PDT) Received: (from imp@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3A4rct50291; Tue, 9 Apr 2002 21:53:38 -0700 (PDT) (envelope-from imp) Message-Id: <200204100453.g3A4rct50291@freefall.freebsd.org> From: Warner Losh Date: Tue, 9 Apr 2002 21:53:38 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys ioccom.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG imp 2002/04/09 21:53:38 PDT Modified files: sys/sys ioccom.h Log: I've fixed the X11 port, so I can remove the (ioctl) hack. This hack turns out to be a bad idea. Many auto configuration scripts will #include a bunch of system headers, run it through cpp and then grep/sed to see if there was really a prototype. The regular expressions that are used to test this didn't accept all possible legal ANSI-C prototypes. In particular, they didn't accept the () around ioctl. Several different programs do this, so eliminating the parans will keep FreeBSD maximally compatible with other systems. Appologies to: obrien (he was right in the end) This potentally breaks some ports (and fixes vim and others that haven't been fixed to deal with the parens). Revision Changes Path 1.14 +1 -6 src/sys/sys/ioccom.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message