From 9b1e2a48350e70920769ce7b193b4ff5005ed5a9 Mon Sep 17 00:00:00 2001 From: Federico Kircheis Date: Sat, 6 Jul 2019 07:23:54 +0200 Subject: [PATCH] Rename typedef to ParseDateRangeFlags As there is another definition of PatternFlags --- pattern.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pattern.c b/pattern.c index b3bfd85e3..a982ad68a 100644 --- a/pattern.c +++ b/pattern.c @@ -98,7 +98,7 @@ bool C_ThoroughSearch; ///< Config: Decode headers and messages before searching #define MUTT_MAXRANGE -1 -typedef uint16_t PatternFlags; ///< Flags for parse_date_range(), e.g. #MUTT_PDR_MINUS +typedef uint16_t ParseDateRangeFlags; ///< Flags for parse_date_range(), e.g. #MUTT_PDR_MINUS #define MUTT_PDR_NO_FLAGS 0 ///< No flags are set #define MUTT_PDR_MINUS (1 << 0) ///< Pattern contains a range #define MUTT_PDR_PLUS (1 << 1) ///< Extend the range using '+' @@ -454,7 +454,7 @@ static const char *get_date(const char *s, struct tm *t, struct Buffer *err) static const char *parse_date_range(const char *pc, struct tm *min, struct tm *max, bool have_min, struct tm *base_min, struct Buffer *err) { - PatternFlags flags = MUTT_PDR_NO_FLAGS; + ParseDateRangeFlags flags = MUTT_PDR_NO_FLAGS; while (*pc && ((flags & MUTT_PDR_DONE) == 0)) { const char *pt = NULL; -- 2.40.0