diff options
author | Adrian Reber <areber@redhat.com> | 2021-07-19 10:28:38 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2021-09-03 20:31:00 +0300 |
commit | 93dd984ca0ee0e31a5650f64328222e748152bcb (patch) | |
tree | 024483c121704ec8d106c9bf596441b51e51a67c /test/zdtm/static/fifo-rowo-pair.c | |
parent | 1e26f170caa8b2c26f5d09a78ffe9fdea70d38d0 (diff) |
Run 'make indent' on all C files
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Adrian Reber <areber@redhat.com>
Diffstat (limited to 'test/zdtm/static/fifo-rowo-pair.c')
-rw-r--r-- | test/zdtm/static/fifo-rowo-pair.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/test/zdtm/static/fifo-rowo-pair.c b/test/zdtm/static/fifo-rowo-pair.c index 239634381..54054961b 100644 --- a/test/zdtm/static/fifo-rowo-pair.c +++ b/test/zdtm/static/fifo-rowo-pair.c @@ -15,9 +15,9 @@ #include "zdtmtst.h" -const char *test_doc = "Test for fifo ro/wo with " - "fake fifo needed on criu side"; -const char *test_author = "Cyrill Gorcunov <gorcunov@openvz.org>"; +const char *test_doc = "Test for fifo ro/wo with " + "fake fifo needed on criu side"; +const char *test_author = "Cyrill Gorcunov <gorcunov@openvz.org>"; char *name_master; TEST_OPTION(name_master, string, "master fifo name", 1); @@ -25,13 +25,15 @@ TEST_OPTION(name_master, string, "master fifo name", 1); char *name_slave; TEST_OPTION(name_slave, string, "slave fifo name", 1); -#define TEST_VALUE (00100) +#define TEST_VALUE (00100) -#define exit_shot(pid, code) \ - do { kill(pid, SIGKILL); exit(code); } while (0) +#define exit_shot(pid, code) \ + do { \ + kill(pid, SIGKILL); \ + exit(code); \ + } while (0) -#define exit_shot_parent(code) \ - exit_shot(getppid(), 1) +#define exit_shot_parent(code) exit_shot(getppid(), 1) int main(int argc, char **argv) { |