]> diplodocus.org Git - nmh/commitdiff
Move m_getfld's MS_* mbox-type macros to the only user.
authorRalph Corderoy <ralph@inputplus.co.uk>
Tue, 1 Aug 2017 13:41:20 +0000 (14:41 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Tue, 1 Aug 2017 13:41:20 +0000 (14:41 +0100)
h/mh.h
sbr/m_getfld.c

diff --git a/h/mh.h b/h/mh.h
index 6b7dec6..1ff275b 100644 (file)
--- a/h/mh.h
+++ b/h/mh.h
@@ -376,14 +376,6 @@ struct msgs {
 
 typedef struct m_getfld_state *m_getfld_state_t;
 
-/*
- * Maildrop styles
- */
-#define        MS_DEFAULT      0       /* default (one msg per file) */
-#define        MS_UNKNOWN      1       /* type not known yet         */
-#define        MS_MBOX         2       /* Unix-style "from" lines    */
-#define        MS_MMDF         3       /* string MMDF_DELIM          */
-
 #define        NOUSE   0               /* draft being re-used */
 
 #define TFOLDER 0              /* path() given a +folder */
index 1ea5b8b..d74f386 100644 (file)
@@ -205,6 +205,14 @@ static int m_Eom (m_getfld_state_t);
 #define eom(c,s)       (s->msg_style != MS_DEFAULT && \
                         ((c) == *s->msg_delim && m_Eom(s)))
 
+/*
+ * Maildrop styles
+ */
+#define        MS_DEFAULT      0       /* default (one msg per file) */
+#define        MS_UNKNOWN      1       /* type not known yet         */
+#define        MS_MBOX         2       /* Unix-style "from" lines    */
+#define        MS_MMDF         3       /* string MMDF_DELIM          */
+
 /* This replaces the old approach, with its direct access to stdio
  * internals.  It uses one fread() to load a buffer that we manage.
  *