From d36ed5f273029faf51989a0b7cc35bdd0b87da4a Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Thu, 22 Feb 2024 20:21:07 +0300 Subject: [PATCH] C: reverse-ramdisk.c: reformat macros --- c-programming/experiments/reverse-ramdisk.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/c-programming/experiments/reverse-ramdisk.c b/c-programming/experiments/reverse-ramdisk.c index d47daed..66da5c0 100644 --- a/c-programming/experiments/reverse-ramdisk.c +++ b/c-programming/experiments/reverse-ramdisk.c @@ -43,17 +43,17 @@ #endif #if defined(DEBUG) || defined(TEST) -# define DBG_PRINT(...) do { \ - printf(__VA_ARGS__); \ - fflush(stdout); \ +# define DBG_PRINT(...) do { \ + printf(__VA_ARGS__); \ + fflush(stdout); \ } while (0) #else # define DBG_PRINT(...) #endif -#define RETREAT(s) do { \ - perror(s); \ - exit(EXIT_FAILURE); \ +#define RETREAT(s) do { \ + perror(s); \ + exit(EXIT_FAILURE); \ } while (0) typedef struct {