From 84262d9f69aa6730c69f464b5b4fb7f6030bf329 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 Jun 2026 19:51:00 +0200 Subject: switch from tabs to spaces It was fun while it lasted, but I do believe that spaces are strictly superior, and clang-format struggles with tabs while using advanced configuration options. --- test/sigsegv/lib.h | 2 +- test/sigsegv/main.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'test') diff --git a/test/sigsegv/lib.h b/test/sigsegv/lib.h index 15f2246..097f5b9 100644 --- a/test/sigsegv/lib.h +++ b/test/sigsegv/lib.h @@ -2,7 +2,7 @@ #define __LIB_H__ struct data { - int x; + int x; }; extern struct data* data; diff --git a/test/sigsegv/main.c b/test/sigsegv/main.c index 4336073..f999d91 100644 --- a/test/sigsegv/main.c +++ b/test/sigsegv/main.c @@ -3,13 +3,13 @@ #include int main(void) { - puts("Started the test program."); - fflush(stdout); + puts("Started the test program."); + fflush(stdout); - printf("This will crash: %d.\n", data->x); + printf("This will crash: %d.\n", data->x); - puts("You shouldn't see this."); - fflush(stdout); + puts("You shouldn't see this."); + fflush(stdout); - return 0; + return 0; } -- cgit v1.3