Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2003 04:50:56 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Garrett Wollman <wollman@lcs.mit.edu>
Cc:        Bakul Shah <bakul@bitblocks.com>, current@FreeBSD.org
Subject:   Re: Style fixups for proc.h
Message-ID:  <20030202025056.GA19433@gothmog.gr>
In-Reply-To: <200302020031.h120VlBO031192@khavrinen.lcs.mit.edu>
References:  <200302012315.h11NFVaX028348@grimreaper.grondar.org> <200302020002.TAA24089@warspite.cnchost.com> <200302020031.h120VlBO031192@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-02-01 19:31, Garrett Wollman <wollman@lcs.mit.edu> wrote:
> <<On Sat, 01 Feb 2003 16:02:57 -0800, Bakul Shah <bakul@bitblocks.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030202025056.GA19433>