]> granicus.if.org Git - strace/commit
Fix preprocessor indentation
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 24 Sep 2019 21:35:26 +0000 (21:35 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 25 Sep 2019 01:02:03 +0000 (01:02 +0000)
commit89341445ad72d8fb40564fd87eb5d6cbc5aceaae
tree1bb4709e793bd593cdd39c131cb43e3ae72c1245
parent94d12a458c8dac8c8bb5174e36d7563793fea0e5
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
print_fields.h
tests/accept_compat.h
tests/clone3.c
tests/getgroups.c
tests/ioctl_perf.c
tests/setgroups.c