From 5faee9d112d985d1964ccafcfd03203debb2c310 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Wed, 3 Feb 2021 07:23:43 +0200 Subject: [PATCH] Fix tidyall tests. See: https://metacpan.org/release/Code-TidyAll . --- fortune-mod/fortune/fortune.c | 4 ++-- fortune-mod/util/strfile.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fortune-mod/fortune/fortune.c b/fortune-mod/fortune/fortune.c index 879dad5..2f201ea 100644 --- a/fortune-mod/fortune/fortune.c +++ b/fortune-mod/fortune/fortune.c @@ -1147,7 +1147,7 @@ static void getargs(int argc, char **argv) (void)fprintf(stderr, "%s", "fortune: can't match fortunes on this system (Sorry)\n"); exit(0); -#else /* NO_REGEX */ +#else /* NO_REGEX */ case 'm': /* dump out the fortunes */ Match = true; pat = optarg; @@ -1155,7 +1155,7 @@ static void getargs(int argc, char **argv) case 'i': /* case-insensitive match */ ignore_case = true; break; -#endif /* NO_REGEX */ +#endif /* NO_REGEX */ case 'u': /* Don't recode the fortune */ No_recode = true; break; diff --git a/fortune-mod/util/strfile.h b/fortune-mod/util/strfile.h index 848f5b1..582e0ca 100644 --- a/fortune-mod/util/strfile.h +++ b/fortune-mod/util/strfile.h @@ -50,8 +50,8 @@ typedef struct uint32_t str_longlen; /* length of longest string */ uint32_t str_shortlen; /* length of shortest string */ #define STR_RANDOM 0x1 /* randomized pointers */ -#define STR_ORDERED 0x2 /* ordered pointers */ -#define STR_ROTATED 0x4 /* rot-13'd text */ +#define STR_ORDERED 0x2 /* ordered pointers */ +#define STR_ROTATED 0x4 /* rot-13'd text */ uint32_t str_flags; /* bit field for flags */ uint8_t stuff[4]; /* long aligned space */ #define str_delim stuff[0] /* delimiting character */ -- 2.40.0