]> diplodocus.org Git - nmh/blobdiff - h/msh.h
Removed a bunch of unreachable break statements found by
[nmh] / h / msh.h
diff --git a/h/msh.h b/h/msh.h
index 201c7ecb1a859cb9b910e189c8e66b2b388e24fe..4e0314de4bc0f4f38ea32668dfdb7c38aedcbfeb 100644 (file)
--- a/h/msh.h
+++ b/h/msh.h
@@ -22,7 +22,13 @@ struct Cmd {
 #define        MHNCHK 0x0001   /* did nontext check           */
 #define        MHNYES 0x0002   /* .. and known to be non-text */
 
-#define CUR (1 << (FFATTRSLOT + NUMATTRS - 1))
+/*
+ * Determine the number of user defined sequences we
+ * can have.  The first FFATTRSLOT sequence flags are for
+ * internal nmh message flags.
+ */
+#define        NUMATTRS  (27)
+#define CUR (FFATTRSLOT + NUMATTRS - 1)
 
 #ifdef BPOP
 # define VIRTUAL SELECT_EMPTY
@@ -37,7 +43,7 @@ struct Msg {
     char *m_scanl;
     struct tws m_tb;
     short m_flags;
-    seqset_t m_stats;
+    bvector_t m_stats;
 };
 
 #define        m_bboard_id  m_drop.d_id
@@ -53,7 +59,7 @@ extern int modified;          /* command modified folder */
 extern struct msgs *mp;                /* used a lot              */
 extern struct Msg *Msgs;       /* Msgs[0] not used        */
 
-FILE *msh_ready ();
+FILE *msh_ready (int, int);
 
 /*
  * COMMAND
@@ -75,11 +81,6 @@ extern int interrupted;              /* SIGINT detected  */
 extern int broken_pipe;                /* SIGPIPE detected */
 extern int told_to_quit;       /* SIGQUIT detected */
 
-#ifdef BSD42
-extern int should_intr;                /* signal handler should interrupt call */
-extern jmp_buf sigenv;         /* the environment pointer */
-#endif
-
 /*
  * prototypes
  */