From owner-freebsd-arch Thu Jan 31 14:36:49 2002 Delivered-To: freebsd-arch@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 86AE437B402 for ; Thu, 31 Jan 2002 14:36:41 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g0VMaRo37967; Thu, 31 Jan 2002 15:36:27 -0700 (MST) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g0VMaOx34860; Thu, 31 Jan 2002 15:36:24 -0700 (MST) (envelope-from imp@village.org) Date: Thu, 31 Jan 2002 15:36:07 -0700 (MST) Message-Id: <20020131.153607.63055791.imp@village.org> To: drosih@rpi.edu Cc: Todd.Miller@courtesan.com, perry@wasabisystems.com, wes@softweyr.com, tlambert2@mindspring.com, asmodai@wxs.nl, mckusick@mckusick.com, arch@FreeBSD.ORG, peter@wemm.org, phk@critter.freebsd.dk, deatley@apple.com, jkh@winston.freebsd.org, deraadt@cvs.openbsd.org Subject: Re: __P macro question From: "M. Warner Losh" In-Reply-To: References: <87d6zq31z6.fsf@snark.piermont.com> <200201312043.g0VKhrDx004889@xerxes.courtesan.com> X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: Garance A Drosihn writes: : I also came across things like a prototype of: : static int sendfile __P((struct printer *pp, int type, char *file, : int format)); : : for a procedure declaration of: : static int : sendfile(pp, type, file, format) : struct printer *pp; : int type; : char *file; : char format; : { That's *EXCATLY* why I'm converting the old, but still legal in c89, style to new style. You get warnings that you didn't get before. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message