X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=regex.c;h=a16165a0498dc13695b619b053debd84d42be701;hp=eefc2cb9b7b37909e98b1d0b45e85a2d1d255522;hb=93fff313ededa74d6b1350931a37744729498e3b;hpb=67b2c8d6719bccd621e47b59cb89b9e2cb97d4f5 diff --git a/regex.c b/regex.c index eefc2cb..a16165a 100644 --- a/regex.c +++ b/regex.c @@ -168,7 +168,7 @@ extern char *re_syntax_table; static char re_syntax_table[CHAR_SET_SIZE]; -enum { MUTT_ALNUM, MUTT_ALPHA, MUTT_BLANK, MUTT_CNTRL, MUTT_DIGIT, MUTT_GRAPH, +enum { MUTT_ALNUM = 1, MUTT_ALPHA, MUTT_BLANK, MUTT_CNTRL, MUTT_DIGIT, MUTT_GRAPH, MUTT_LOWER, MUTT_PRINT, MUTT_PUNCT, MUTT_SPACE, MUTT_UPPER, MUTT_XDIGIT, MUTT_INVALID }; @@ -202,6 +202,7 @@ static int ctype(const char *name) return MUTT_INVALID; } +#ifndef HAVE_ISCTYPE static int isctype(char c, int desc) { switch (desc) { @@ -220,6 +221,7 @@ static int isctype(char c, int desc) } return 0; /* false */ } +#endif static void init_syntax_once ()