From owner-freebsd-current Sat Feb 1 18:51:17 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 ECD9C37B401 for ; Sat, 1 Feb 2003 18:51:16 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42B4143E4A for ; Sat, 1 Feb 2003 18:51:07 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr364-a24.otenet.gr [195.167.109.56]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id h122ovVq025899; Sun, 2 Feb 2003 04:51:00 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.6/8.12.6) with ESMTP id h122ovMP020144; Sun, 2 Feb 2003 04:50:57 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.6/8.12.6/Submit) id h122ouvS020143; Sun, 2 Feb 2003 04:50:56 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 2 Feb 2003 04:50:56 +0200 From: Giorgos Keramidas To: Garrett Wollman Cc: Bakul Shah , current@FreeBSD.org Subject: Re: Style fixups for proc.h Message-ID: <20030202025056.GA19433@gothmog.gr> References: <200302012315.h11NFVaX028348@grimreaper.grondar.org> <200302020002.TAA24089@warspite.cnchost.com> <200302020031.h120VlBO031192@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200302020031.h120VlBO031192@khavrinen.lcs.mit.edu> 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 2003-02-01 19:31, Garrett Wollman wrote: > < said: > > I can't see what actual error is avoided by this warning. > > My personal opinion, which is different from what style(9) recommends, > is that parameter names should be omitted for all functions, EXCEPT > those with ambiguous parameter types. This is what I am almost inclined to agree with too. But then, headers are one of the sources of information for newbie programmers too. I have learned a lot of stuff by reading headers and not having names in any prototype would arguably make it harder to use the prototypes of functions in headers to learn things :-/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message