X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvcmd.c;h=f504547359cf555cd77775d3ed8ed632fd0c4890;hp=3ea036316ea83215d6d2dc93865877f626dd223b;hb=d40d2e47d8033cbf917d09c3865179870897e773;hpb=22601f25ede6703ba7cd06ee84eddd2045308570 diff --git a/recvcmd.c b/recvcmd.c index 3ea0363..f504547 100644 --- a/recvcmd.c +++ b/recvcmd.c @@ -19,13 +19,14 @@ #include +#include +#include +#include + #include "mutt.h" -#include "enter.h" #include "state.h" #include "handler.h" #include "recvattach.h" -#include "mutt_curses.h" -#include "mutt_menu.h" #include "rfc1524.h" #include "attach.h" #include "mx.h" @@ -119,13 +120,13 @@ static short count_tagged_children (ATTACHPTR ** idx, short idxlen, short i) ** **/ -void mutt_attach_bounce (FILE * fp, HEADER * hdr, +void mutt_attach_bounce (FILE * fp, HEADER * hdr __attribute__ ((unused)), ATTACHPTR ** idx, short idxlen, BODY * cur) { short i; char prompt[STRING]; char buf[HUGE_STRING]; - char *err = NULL; + const char *err = NULL; address_t *adr = NULL; int ret = 0; int p = 0; @@ -216,7 +217,7 @@ void mutt_attach_bounce (FILE * fp, HEADER * hdr, ** **/ -void mutt_attach_resend (FILE * fp, HEADER * hdr, ATTACHPTR ** idx, +void mutt_attach_resend (FILE * fp, HEADER * hdr __attribute__ ((unused)), ATTACHPTR ** idx, short idxlen, BODY * cur) { short i; @@ -522,7 +523,7 @@ bail: * the attachment index. */ -static void attach_forward_msgs (FILE * fp, HEADER * hdr, +static void attach_forward_msgs (FILE * fp, HEADER * hdr __attribute__ ((unused)), ATTACHPTR ** idx, short idxlen, BODY * cur, int flags) { @@ -738,7 +739,7 @@ attach_reply_envelope_defaults (ENVELOPE * env, ATTACHPTR ** idx, /* This is _very_ similar to send.c's include_reply(). */ static void attach_include_reply (FILE * fp, FILE * tmpfp, HEADER * cur, - int flags) + int flags __attribute__ ((unused))) { int cmflags = M_CM_PREFIX | M_CM_DECODE | M_CM_CHARCONV; int chflags = CH_DECODE;