]> granicus.if.org Git - neomutt/commitdiff
dedupe mx headers
authorRichard Russon <rich@flatcap.org>
Sun, 5 Aug 2018 08:44:22 +0000 (09:44 +0100)
committerRichard Russon <rich@flatcap.org>
Sun, 5 Aug 2018 08:44:22 +0000 (09:44 +0100)
mbox/mbox.c
mbox/mbox.h
mx.h

index f0eac0f3277a782fee3497fbbebad846cc55e363..6c0fb706b6842b0dcf0e79a181117e689848d64a 100644 (file)
@@ -41,6 +41,7 @@
 #include "mutt/mutt.h"
 #include "email/email.h"
 #include "mutt.h"
+#include "mbox.h"
 #include "context.h"
 #include "copy.h"
 #include "globals.h"
index a02570dbbf48e259dc1ed9f4e89dda098080f1ca..7c3b41fefceb9d92330a8349f901ce47a9d577ac 100644 (file)
@@ -39,6 +39,8 @@ struct stat;
 extern struct MxOps mx_mbox_ops;
 extern struct MxOps mx_mmdf_ops;
 
+#define MMDF_SEP "\001\001\001\001\n"
+
 void mbox_reset_atime(struct Context *ctx, struct stat *st);
 
 #endif /* _MBOX_MBOX_H */
diff --git a/mx.h b/mx.h
index d65f05414bd74dc78a7d16ba9f8103f394ff9893..07b918886bde6e7947d14db4d04b3fedf75b4d0e 100644 (file)
--- a/mx.h
+++ b/mx.h
@@ -145,10 +145,6 @@ struct MxOps
   int (*tags_commit)     (struct Context *ctx, struct Header *hdr, char *buf);
 };
 
-#define MMDF_SEP "\001\001\001\001\n"
-
-void mbox_reset_atime(struct Context *ctx, struct stat *st);
-
 #ifdef USE_NOTMUCH
 bool mx_is_notmuch(const char *p);
 #endif