]> diplodocus.org Git - nmh/commitdiff
mh.h: Remove unused MODIFIED and DELETED macros.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 23 Apr 2017 13:36:57 +0000 (14:36 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 23 Apr 2017 13:36:57 +0000 (14:36 +0100)
MODIFIED was a folder attribute used by msh(1), and DELETED a message
attribute that may have last been used in the 1980s.
Adjust corresponding FBITS and MBITS definitions.

h/mh.h

diff --git a/h/mh.h b/h/mh.h
index c0510be101e68eee63607abfa8f409a7f760e6ef..c0c7daf713bb54f7492f7f69eaf9365b56600a83 100644 (file)
--- a/h/mh.h
+++ b/h/mh.h
@@ -169,9 +169,8 @@ extern struct swit anoyes[];        /* standard yes/no switches */
 #define        SEQMOD     (1<<1)       /* folder's sequences modified   */
 #define        ALLOW_NEW  (1<<2)       /* allow the "new" sequence     */
 #define        OTHERS     (1<<3)       /* folder has other files       */
-#define        MODIFIED   (1<<4)       /* msh in-core folder modified  */
 
-#define        FBITS "\020\01READONLY\02SEQMOD\03ALLOW_NEW\04OTHERS\05MODIFIED"
+#define        FBITS "\020\01READONLY\02SEQMOD\03ALLOW_NEW\04OTHERS"
 
 /*
  * first free slot for user defined sequences
@@ -183,12 +182,11 @@ extern struct swit anoyes[];      /* standard yes/no switches */
  * internal messages attributes (sequences)
  */
 #define EXISTS        (0)      /* exists            */
-#define DELETED       (1)      /* deleted           */
 #define SELECTED      (2)      /* selected for use  */
 #define SELECT_EMPTY  (3)      /* "new" message     */
 #define        SELECT_UNSEEN (4)       /* inc/show "unseen" */
 
-#define        MBITS "\020\01EXISTS\02DELETED\03SELECTED\04NEW\05UNSEEN"
+#define        MBITS "\020\01EXISTS\02!BUG!\03SELECTED\04NEW\05UNSEEN"
 
 /*
  * type for holding the sequence set of a message