Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 May 2009 22:40:02 +0200
From:      Christoph Mallon <christoph.mallon@gmx.de>
To:        Julian Elischer <julian@elischer.org>
Cc:        Maxim Sobolev <sobomax@freebsd.org>, FreeBSD Hackers <freebsd-hackers@freebsd.org>, Roman Divacky <rdivacky@freebsd.org>, Ed Schouten <ed@freebsd.org>, David Malone <dwmalone@maths.tcd.ie>, Warner Losh <imp@freebsd.org>
Subject:   Re: C99: Suggestions for style(9)
Message-ID:  <49FCAFA2.60603@gmx.de>
In-Reply-To: <49FCAA1D.1080208@elischer.org>
References:  <49F4070C.2000108@gmx.de> <20090502073658.GA65633@walton.maths.tcd.ie> <49FC752D.5080807@elischer.org> <49FC8574.5060205@gmx.de> <49FC8920.6050408@elischer.org> <49FC8E92.1090207@gmx.de> <49FC9A02.6080901@elischer.org> <49FCA148.9060707@gmx.de> <49FCAA1D.1080208@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer schrieb:
>> Christoph Mallon wrote:
>>>> K&R code should be changed as part of related changes if possible.
>>>> A sweep to change a whole file is probably also ok.
>>>> changing them one at a time is probably not ok.
>>>
>>> But this is what actually is practiced.
>>> You still did not answer my question: Do you agree to remove the 
>>> clause so no new old style declarations may be added?
> 
> I think a new clause should be added specifying what should happen
> and replacing the old clause.

This is not sensible. style(9) says right at the start that it "[...] 
specifies the preferred style for kernel source files [...]". The 
preferred style would be to use ANSI function declarations - what else 
is there to say? There is no point in adding more when less is sufficient.



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