From 653f939ac56ad27468318e4b9913f23d31105098 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Sun, 7 Aug 2022 00:37:38 +0400 Subject: bix _Bool --- source/kit_test/run_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/kit_test/run_tests.c') diff --git a/source/kit_test/run_tests.c b/source/kit_test/run_tests.c index 19fea96..a4ebd12 100644 --- a/source/kit_test/run_tests.c +++ b/source/kit_test/run_tests.c @@ -5,7 +5,7 @@ struct kit_tests_list kit_tests_list = { 0 }; -static void report(int i, char const *file, int line, _Bool ok) { +static void report(int i, char const *file, int line, int ok) { int const n = kit_tests_list.tests[i].assertions++; kit_tests_list.tests[i].file[n] = file; @@ -23,7 +23,7 @@ static long long sec_to_ms(long long sec) { enum code_value { white, yellow, red, green }; -static void color_code(_Bool term_color, int c) { +static void color_code(int term_color, int c) { if (term_color) { if (c == white) printf("\x1b[37m"); -- cgit v1.2.3