On Mon, 18 Jul 2011 07:41:30 +0100, David Laight wrote:
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

Ah yes, forgot about it. Works pretty well, thanks for pointing it out.

--
Jean-Yves Migeon
jeanyves.mig...@free.fr

Reply via email to