Date: Wed, 2 May 2001 15:14:00 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: Will Andrews <will@physics.purdue.edu> Cc: Dima Dorfman <dima@unixfreak.org>, audit@FreeBSD.ORG Subject: Re: {get,set}progname functions Message-ID: <Pine.BSF.4.21.0105021510570.40807-100000@besplex.bde.org> In-Reply-To: <20010501225758.Q5017@casimir.physics.purdue.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 May 2001, Will Andrews wrote: > On Tue, May 01, 2001 at 07:53:21PM -0700, Dima Dorfman wrote: > > Please review and, if acceptable, commit it. > > style(9) says: > > Only use the __P macro from the include file <sys/cdefs.h> if the source > file in general is (to be) compilable with a K&R Old Testament compiler. > Use of the __P macro in new code is discouraged, although modifications > to existing files should be consistent with that file's conventions. <stdlib.h> is to be compilable with a K&R Old Testament compiler, and follows the convention of using __P(()) for all functions, so this rule says (twice) that additions to <stdlib.h> must use __P(()). > Nuke __P() while you're at it. Nothing to nuke. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0105021510570.40807-100000>