X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=handler.c;h=e49d973a21380bc68681a1fdc65728939fd421bd;hb=5d5c580eec880d5a67b9d4ab5bc399574dcc285e;hp=26d1a998c148fb3aef8dcb5e1530e2bb6069cfe2;hpb=230399f9632c37b66c1c117a17e8327eae6b3235;p=apps%2Fmadmutt.git diff --git a/handler.c b/handler.c index 26d1a99..e49d973 100644 --- a/handler.c +++ b/handler.c @@ -7,17 +7,6 @@ * please see the file GPL in the top level source directory. */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include -#include -#include -#include - #include #include @@ -25,6 +14,8 @@ #include +#include + #include "mutt.h" #include "recvattach.h" #include "handler.h" @@ -148,7 +139,7 @@ static void qp_decode_line (char *dest, char *src, ssize_t * l, int last) * */ -void mutt_decode_quoted (STATE * s, long len, int istext, iconv_t cd) +static void mutt_decode_quoted (STATE * s, long len, int istext, iconv_t cd) { char line[STRING]; char decline[2 * STRING]; @@ -279,14 +270,14 @@ void mutt_decode_base64 (STATE * s, long len, int istext, iconv_t cd) state_reset_prefix (s); } -unsigned char decode_byte (char ch) +static unsigned char decode_byte (char ch) { if (ch == 96) return 0; return ch - 32; } -void mutt_decode_uuencoded (STATE * s, long len, int istext, iconv_t cd) +static void mutt_decode_uuencoded (STATE * s, long len, int istext, iconv_t cd) { char tmps[SHORT_STRING]; char linelen, c, l, out; @@ -640,7 +631,7 @@ static void enriched_set_flags (const char *tag, struct enriched_state *stte) } } -int text_enriched_handler (BODY * a, STATE * s) +static int text_enriched_handler (BODY * a, STATE * s) { enum { TEXT, LANGLE, TAG, BOGUS_TAG, NEWLINE, ST_EOF, DONE