From 9a76f566c607997b5f95a8f85a439b3de5fe33d2 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 3 Feb 2004 18:49:50 -0800 Subject: [PATCH] [PATCH] Lindent fixed to match reality From: Matt Mackall 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Lindent b/scripts/Lindent index 0bababd002ae7..34ed785116b66 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 "$@" -- 2.53.0