summaryrefslogtreecommitdiff
path: root/tests/file_handle.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2018-12-30 15:35:21 +0000
committerDmitry V. Levin <ldv@altlinux.org>2018-12-30 15:35:21 +0000
commitd6c71dd0611e7e337edaf36c35ad51a90f404b14 (patch)
treef07993776311a1494d7dc339cf94d5a4c8dc5b82 /tests/file_handle.c
parent51bd6db1ef017e44e878c62d4ea264f65106cb66 (diff)
downloadstrace-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/file_handle.c')
-rw-r--r--tests/file_handle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/file_handle.c b/tests/file_handle.c
index e870e0011..38cd5af81 100644
--- a/tests/file_handle.c
+++ b/tests/file_handle.c
@@ -137,8 +137,8 @@ struct strval {
const char *str;
};
-#define STR16 "0123456789abcdef"
-#define STR64 STR16 STR16 STR16 STR16
+# define STR16 "0123456789abcdef"
+# define STR64 STR16 STR16 STR16 STR16
int
main(void)