diff options
author | Matthew Wilcox <matthew@wil.cx> | 2007-07-20 17:29:50 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-20 17:45:38 +0200 |
commit | e609ccc3161ead8a685b15533d9b6958ed368358 (patch) | |
tree | 077c4918204792f131b35749519d01cd5363d31f /scripts/Lindent | |
parent | Memory leak in tpm_ascii_bios_measurements_open() (diff) | |
download | linux-e609ccc3161ead8a685b15533d9b6958ed368358.tar.xz linux-e609ccc3161ead8a685b15533d9b6958ed368358.zip |
Fix Lindent to not indent preprocessor comments so far
I recently ran Lindent over the AdvanSys driver and it moved the
comments on #else and #endif lines way over to the right:
#else /* ADVANSYS_DEBUG */
This doesn't match what I expect from kernel style, but it is
documented. We just need another flag to indent to make this look like:
#else /* ADVANSYS_DEBUG */
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/Lindent')
-rwxr-xr-x | scripts/Lindent | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Lindent b/scripts/Lindent index 7d8d8896e309..9468ec7971db 100755 --- a/scripts/Lindent +++ b/scripts/Lindent @@ -1,2 +1,2 @@ #!/bin/sh -indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs "$@" +indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1 "$@" |