From: Ralph Corderoy Date: Sun, 23 Apr 2017 13:36:57 +0000 (+0100) Subject: mh.h: Remove unused MODIFIED and DELETED macros. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/e0714781a68d957e9b136bee9dd7d637ddf59618?hp=0c3a21f9763759559bc064112dda39f9a4561db2 mh.h: Remove unused MODIFIED and DELETED macros. 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. --- diff --git a/h/mh.h b/h/mh.h index c0510be1..c0c7daf7 100644 --- 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