Re: Lindent fixed to match reality

From: Roland Dreier
Date: Thu Jan 29 2004 - 15:19:23 EST


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

I disagree about both b) and c). In particular, you would always
write "sizeof variable" (since "sizeofvariable" wouldn't even compile)
and there's no sense in fooling people into thinking sizeof is a
function. Similarly I like the space after the () operator (although
you could argue we don't put space after a unary - operator).

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