Re: Lindent fixed to match reality

From: Linus Torvalds
Date: Thu Jan 29 2004 - 14:48:30 EST




On Thu, 29 Jan 2004, Matt Mackall wrote:
>
> a) (no -psl)
>
> void *foo(void) {
>
> instead of
>
> void *
> foo(void) {

And why not

void *foo(void)
{

which is the _right_ thing to use?

> b) (no -bs) "sizeof(foo)" rather than "sizeof (foo)"
> c) (-ncs) "(void *)foo" rather than "(void *) foo"

Hmm.. I don't know about (c), that one tends to vary by usage.

Linus
-
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/