]> granicus.if.org Git - strace/commit
Fix preprocessor indentation
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 11 Jul 2019 17:51:22 +0000 (17:51 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 11 Jul 2019 17:51:22 +0000 (17:51 +0000)
commitb63700cc56770866f3ba116707d229790aef43df
tree87880e740b4d60927e74edaee3e0f2362ff687f0
parent1d9b0d3d8c186d8ea08020579a090e94a536d685
Fix preprocessor indentation

Indent the C preprocessor directives to reflect their nesting
using the following script:

$ cppi -l $(git grep -El '^[[:space:]]*#[[:space:]]*(if|ifdef|ifndef|elif|else|endif|define|pragma)[[:space:]]' |grep -v '\.sh$') |while read f; do
cppi < "$f" > "$f".cppi; mv "$f".cppi "$f"
done
defs.h
kernel_timex.h
linux/csky/raw_syscall.h
syscall.c
tests/clone-flags.c
tests/fspick.c
tests/inotify_init.c
tests/inotify_init1.c