]> git.hungrycats.org Git - linux/commit
[PATCH] Lindent fixed to match reality
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:49:50 +0000 (18:49 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:49:50 +0000 (18:49 -0800)
commit9a76f566c607997b5f95a8f85a439b3de5fe33d2
tree140bab895bbb368ce53fb48edf87a63280e54458
parent6cb8a2c5489728287994d8bd41115c421ef7f5e8
[PATCH] Lindent fixed to match reality

From: Matt Mackall <mpm@selenic.com>

I've been fiddling with cleaning up some old code here and suggest the
following to make Lindent match actual practice more closely. This does:

a) (no -psl)

void *foo(void)
{

 instead of

void *
foo(void) {

b) (no -bs) "sizeof(foo)" rather than "sizeof (foo)"

c) (-ncs) "(void *)foo" rather than "(void *) foo"
scripts/Lindent