X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvcmd.c;h=39af5fa11df2b346bf0882de8c33b514249cd4d9;hp=3ea036316ea83215d6d2dc93865877f626dd223b;hb=ecfcc6df70230ba136c2fb3843700ecb749c41b7;hpb=22601f25ede6703ba7cd06ee84eddd2045308570 diff --git a/recvcmd.c b/recvcmd.c index 3ea0363..39af5fa 100644 --- a/recvcmd.c +++ b/recvcmd.c @@ -19,12 +19,13 @@ #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" @@ -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;