summaryrefslogtreecommitdiff
path: root/scripts/Lindent
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-02-03 18:49:50 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-02-03 18:49:50 -0800
commit9a76f566c607997b5f95a8f85a439b3de5fe33d2 (patch)
tree140bab895bbb368ce53fb48edf87a63280e54458 /scripts/Lindent
parent6cb8a2c5489728287994d8bd41115c421ef7f5e8 (diff)
[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"
Diffstat (limited to 'scripts/Lindent')
-rwxr-xr-xscripts/Lindent2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Lindent b/scripts/Lindent
index 0bababd002ae..34ed785116b6 100755
--- a/scripts/Lindent
+++ b/scripts/Lindent
@@ -1,2 +1,2 @@
#!/bin/sh
-indent -kr -i8 -ts8 -sob -l80 -ss -bs -psl "$@"
+indent -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"