Re: Lindent fixed to match reality

From: Krzysztof Halasa
Date: Fri Jan 30 2004 - 09:41:56 EST


Erik Hensema <erik@xxxxxxxxxxx> writes:

>> void *foo(void) {
>>
>> instead of
>>
>> void *
>> foo(void) {
>
> You just nicely broke 'find . -name *.c | xargs grep ^foo'.

It was never working with the kernel, so no one can break it.
Just use a little better pattern or use a tool which parses C code.
--
Krzysztof Halasa, B*FH
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/