X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvattach.c;h=50bc81de34a8955d3334744a320ef64960e1b76a;hp=265a18c40d3f5611ee7cabd8d52641adbcf7013a;hb=618ceafdc9564dbb8f3bf45c3869297a1d5a3320;hpb=ba5e3af4ea19e1d20c80941c077039871ec84258 diff --git a/recvattach.c b/recvattach.c index 265a18c..50bc81d 100644 --- a/recvattach.c +++ b/recvattach.c @@ -13,6 +13,10 @@ #endif #include "mutt.h" +#include "ascii.h" +#include "enter.h" +#include "handler.h" +#include "recvattach.h" #include "mutt_curses.h" #include "mutt_menu.h" #include "rfc1524.h" @@ -54,7 +58,7 @@ static struct mapping_t AttachHelp[] = { {NULL} }; -int mutt_extract_path (char *filename, char *path) +static int mutt_extract_path (char *filename, char *path) { char *tmp = mem_malloc (sizeof (char) * _POSIX_PATH_MAX); char *help_ptr; @@ -345,7 +349,7 @@ const char *mutt_attach_fmt (char *dest, return (src); } -void attach_entry (char *b, size_t blen, MUTTMENU * menu, int num) +static void attach_entry (char *b, size_t blen, MUTTMENU * menu, int num) { mutt_FormatString (b, blen, NONULL (AttachFormat), mutt_attach_fmt, (unsigned long) (((ATTACHPTR **) menu->data)[num]), @@ -738,7 +742,7 @@ void mutt_print_attachment_list (FILE * fp, int tag, BODY * top) print_attachment_list (fp, tag, top, &state); } -void +static void mutt_update_attach_index (BODY * cur, ATTACHPTR *** idxp, short *idxlen, short *idxmax, MUTTMENU * menu) {