From owner-freebsd-current Sat Feb 1 15:35: 0 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A431C37B401 for ; Sat, 1 Feb 2003 15:34:59 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB29243F43 for ; Sat, 1 Feb 2003 15:34:58 -0800 (PST) (envelope-from eischen@pcnet1.pcnet.com) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.3/8.12.1) with ESMTP id h11NYrnb008186; Sat, 1 Feb 2003 18:34:53 -0500 (EST) Date: Sat, 1 Feb 2003 18:34:53 -0500 (EST) From: Daniel Eischen To: Mark Murray Cc: Julian Elischer , current@FreeBSD.ORG Subject: Re: Style fixups for proc.h In-Reply-To: <200302012315.h11NFVaX028348@grimreaper.grondar.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Sat, 1 Feb 2003, Mark Murray wrote: > Julian Elischer writes: > > I don't know about the protection with a '_'. > > > > It's not standard and usually the name matches that used in the actual > > function. > > When the prototype parameter name matches a local variable, the C compiler > (and lint) whine about clashes between names in local/global namespace. > > 2 ways to fix this are to "protect" the prototype argument names with the > "_", or to remove the argument name altogether. I'd rather have the names removed altogether. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message