maint: adjust cpp indentation to reflect nesting depth
authorJim Meyering <meyering@redhat.com>
Sun, 20 Feb 2011 22:02:43 +0000 (23:02 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 22 Feb 2011 13:51:31 +0000 (14:51 +0100)
commit86fd2114ac3940e03a02e99658c8df88aed8a235
tree988f6343a71b4ef30052c959109289c9d6ae8a75
parentf1eb357fab17482b2d19f12fc731673acead4922
maint: adjust cpp indentation to reflect nesting depth

I.e., in a block of code that begins with an unnested "#if",
put one space between the "#" in column 1 and following token.
For example,
-#include <sys/vfs.h>
+# include <sys/vfs.h>
Do this only in .c files that are part of a module I maintain.
* lib/linkat.c: Filter through cppi.
* lib/nanosleep.c: Likewise.
* lib/openat.c: Likewise.
* lib/openat-die.c: Likewise.
* lib/dup3.c: Likewise.
* lib/fchownat.c: Likewise.
* lib/flock.c: Likewise.
* lib/fsync.c: Likewise.
* lib/fts.c: Likewise.
* lib/getpass.c: Likewise.
* lib/gettimeofday.c: Likewise.
* lib/userspec.c: Likewise.
* Makefile (sc_cpp_indent_check): New rule, to check this.
14 files changed:
ChangeLog
Makefile
lib/dup3.c
lib/fchownat.c
lib/flock.c
lib/fsync.c
lib/fts.c
lib/getpass.c
lib/gettimeofday.c
lib/linkat.c
lib/nanosleep.c
lib/openat-die.c
lib/openat.c
lib/userspec.c