X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pattern.c;h=9839aa7a7dcd047ec18119fa45bc09bc6329ee3e;hp=8d0e4baa0c496698bf06c5d5ddabf761c668477d;hb=6f12fb83ad1a93ca98c507325fdd70db2e36065f;hpb=82589516e2473b5451218d7b00a9dfbc3e18f3ca diff --git a/pattern.c b/pattern.c index 8d0e4ba..9839aa7 100644 --- a/pattern.c +++ b/pattern.c @@ -10,7 +10,6 @@ #include #include -#include #include #include #include @@ -18,6 +17,7 @@ #include "pattern.h" #include "alias.h" +#include "crypt.h" #include "handler.h" #include "keymap.h" #include "copy.h" @@ -1114,7 +1114,7 @@ void mutt_check_simple (char *s, ssize_t len, const char *simple) } } -int mutt_pattern_func (int op, char *prompt) +int mutt_pattern_func (int op, const char *prompt) { pattern_t *pat; char buf[LONG_STRING] = "", *simple, error[STRING];