From 19409e0860f0bb88a14881f4d5b189fbb1ead0eb Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Mon, 29 Jan 2024 19:16:02 +0300 Subject: [PATCH] template.c: reformat the code --- src/template.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/template.c b/src/template.c index 1220890..5011a39 100644 --- a/src/template.c +++ b/src/template.c @@ -224,8 +224,6 @@ main(void) for (size_t seq = 0; seq < MAX; seq++) { if ((w + BLOCK_SIZE) >= PRODUCT) calc_block_size = PRODUCT - w; -#else - do { #endif // * bytebeat generating loop @@ -252,7 +250,8 @@ main(void) #elif IS_SIGNED intmax_t bytebeat_res = (intmax_t) bytebeat(floor((long double) w)); #else - uintmax_t bytebeat_res = (uintmax_t) bytebeat(floor((long double) w)); + uintmax_t bytebeat_res = + (uintmax_t) bytebeat(floor((long double) w)); #endif // 2. if signed, then wrap up to unsigned @@ -331,9 +330,9 @@ main(void) #if SEQUENTIAL_MODE fflush(output_file); #endif + +#if SEQUENTIAL_MODE } -#if !SEQUENTIAL_MODE - while (0); #endif // * free allocated heap @@ -348,7 +347,7 @@ main(void) #if SEQUENTIAL_MODE && VERBOSE_MODE "\n" #endif - "Done!\n"); + "Done!\n"); #endif return 0;