From 41feba67642d7eb222929abd0f2e752dc63f6c28 Mon Sep 17 00:00:00 2001
From: Richard Russon <rich@flatcap.org>
Date: Sun, 5 Aug 2018 09:44:22 +0100
Subject: [PATCH] dedupe mx headers

---
 mbox/mbox.c | 1 +
 mbox/mbox.h | 2 ++
 mx.h        | 4 ----
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/mbox/mbox.c b/mbox/mbox.c
index f0eac0f32..6c0fb706b 100644
--- a/mbox/mbox.c
+++ b/mbox/mbox.c
@@ -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"
diff --git a/mbox/mbox.h b/mbox/mbox.h
index a02570dbb..7c3b41fef 100644
--- a/mbox/mbox.h
+++ b/mbox/mbox.h
@@ -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 d65f05414..07b918886 100644
--- 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
-- 
2.40.0