Commit 9a76f566 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[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"
parent 6cb8a2c5
#!/bin/sh #!/bin/sh
indent -kr -i8 -ts8 -sob -l80 -ss -bs -psl "$@" indent -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment