X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mx.c;h=3e61ca8e83b99b0992f8878f77f4653708adc20c;hp=cd1957a2160afdd297ffe8f9f924cbabb7f57482;hb=ee1d4d931ca3ebec494694b74a1868a7a2e631e3;hpb=021836b3da95b9243e9f8386d87d220ab4f7f7b7 diff --git a/mx.c b/mx.c index cd1957a..3e61ca8 100644 --- a/mx.c +++ b/mx.c @@ -14,9 +14,10 @@ #include "mutt.h" #include "mx.h" +#include "mbox.h" +#include "mh.h" #include "rfc2047.h" #include "sort.h" -#include "mailbox.h" #include "copy.h" #include "keymap.h" #include "url.h" @@ -314,7 +315,6 @@ void mx_unlink_empty (const char *path) */ #ifdef USE_IMAP - int mx_is_imap (const char *p) { url_scheme_t scheme; @@ -331,7 +331,6 @@ int mx_is_imap (const char *p) return 0; } - #endif #ifdef USE_POP @@ -1305,15 +1304,6 @@ int mx_sync_mailbox (CONTEXT * ctx, int *index_hint) return (rc); } - -/* {maildir,mh}_open_new_message are in mh.c. */ - -int mbox_open_new_message (MESSAGE * msg, CONTEXT * dest, HEADER * hdr) -{ - msg->fp = dest->fp; - return 0; -} - #ifdef USE_IMAP int imap_open_new_message (MESSAGE * msg, CONTEXT * dest, HEADER * hdr) {