projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nico Golde:
[apps/madmutt.git]
/
regex.c
diff --git
a/regex.c
b/regex.c
index
f15550c
..
ddd4228
100644
(file)
--- a/
regex.c
+++ b/
regex.c
@@
-98,6
+98,7
@@
#include "lisp.h"
#include "buffer.h"
#include "syntax.h"
#include "lisp.h"
#include "buffer.h"
#include "syntax.h"
+#include "lib/str.h"
#else /* not emacs */
#else /* not emacs */
@@
-176,29
+177,29
@@
enum { MUTT_ALNUM =
static int ctype (const char *name)
{
static int ctype (const char *name)
{
- if (0 == strcmp (name, "alnum"))
+ if (0 ==
mutt_
strcmp (name, "alnum"))
return MUTT_ALNUM;
return MUTT_ALNUM;
- if (0 == strcmp (name, "alpha"))
+ if (0 ==
mutt_
strcmp (name, "alpha"))
return MUTT_ALPHA;
return MUTT_ALPHA;
- if (0 == strcmp (name, "blank"))
+ if (0 ==
mutt_
strcmp (name, "blank"))
return MUTT_BLANK;
return MUTT_BLANK;
- if (0 == strcmp (name, "cntrl"))
+ if (0 ==
mutt_
strcmp (name, "cntrl"))
return MUTT_CNTRL;
return MUTT_CNTRL;
- if (0 == strcmp (name, "digit"))
+ if (0 ==
mutt_
strcmp (name, "digit"))
return MUTT_DIGIT;
return MUTT_DIGIT;
- if (0 == strcmp (name, "graph"))
+ if (0 ==
mutt_
strcmp (name, "graph"))
return MUTT_GRAPH;
return MUTT_GRAPH;
- if (0 == strcmp (name, "lower"))
+ if (0 ==
mutt_
strcmp (name, "lower"))
return MUTT_LOWER;
return MUTT_LOWER;
- if (0 == strcmp (name, "print"))
+ if (0 ==
mutt_
strcmp (name, "print"))
return MUTT_PRINT;
return MUTT_PRINT;
- if (0 == strcmp (name, "punct"))
+ if (0 ==
mutt_
strcmp (name, "punct"))
return MUTT_PUNCT;
return MUTT_PUNCT;
- if (0 == strcmp (name, "space"))
+ if (0 ==
mutt_
strcmp (name, "space"))
return MUTT_SPACE;
return MUTT_SPACE;
- if (0 == strcmp (name, "upper"))
+ if (0 ==
mutt_
strcmp (name, "upper"))
return MUTT_UPPER;
return MUTT_UPPER;
- if (0 == strcmp (name, "xdigit"))
+ if (0 ==
mutt_
strcmp (name, "xdigit"))
return MUTT_XDIGIT;
return MUTT_INVALID;
}
return MUTT_XDIGIT;
return MUTT_INVALID;
}
@@
-396,7
+397,7
@@
char *alloca ();
#define BYTEWIDTH 8 /* In bits. */
#define BYTEWIDTH 8 /* In bits. */
-#define STREQ(s1, s2) ((strcmp (s1, s2) == 0))
+#define STREQ(s1, s2) ((
mutt_
strcmp (s1, s2) == 0))
#undef MAX
#undef MIN
#undef MAX
#undef MIN