Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch



On Mon, Jul 18, 2011 at 02:18:54AM +0200, Jean-Yves Migeon wrote:
> On 18.07.2011 02:00, David Young wrote:
> >> Can we please use ansi function definitions in newly committed code?
> > 
> > This was tedious enough without converting to ANSI function definitions.
> > A good job for Coccinelle (spatch)?
> 
> Sadly, no: last time I tried (when moving kvm(3) code to ANSI style), I
> had to do it manually. It's even the opposite, spatch has issues when
> parsing non-ANSI declarations, so you have to do the conversion all by
> yourself first...

I've a sed script that will change most of them
see ftp.netbsd.org:~dsl/protoz

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index