diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2018-12-30 15:35:21 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2018-12-30 15:35:21 +0000 |
commit | d6c71dd0611e7e337edaf36c35ad51a90f404b14 (patch) | |
tree | f07993776311a1494d7dc339cf94d5a4c8dc5b82 /tests/rt_sigpending.c | |
parent | 51bd6db1ef017e44e878c62d4ea264f65106cb66 (diff) | |
download | strace-d6c71dd0611e7e337edaf36c35ad51a90f404b14.tar.gz |
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
Diffstat (limited to 'tests/rt_sigpending.c')
-rw-r--r-- | tests/rt_sigpending.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rt_sigpending.c b/tests/rt_sigpending.c index 8d2dc455b..06b15db20 100644 --- a/tests/rt_sigpending.c +++ b/tests/rt_sigpending.c @@ -35,12 +35,12 @@ iterate(const char *const text, unsigned int size, void *set) break; } if (size) { -#if WORDS_BIGENDIAN +# if WORDS_BIGENDIAN if (size < sizeof(long)) tprintf("rt_sigpending(%s, %u) = 0\n", "[]", size); else -#endif +# endif tprintf("rt_sigpending(%s, %u) = 0\n", text, size); } else { |