]> diplodocus.org Git - nmh/blobdiff - uip/mhlist.c
scansbr.c: Move interface to own file.
[nmh] / uip / mhlist.c
index 1a1ccf99bf2a068a02f8306a0b48fc19d23e1e38..b3bba8ba5d16d5b9350b61d3165311fd4073e5fe 100644 (file)
@@ -5,17 +5,35 @@
  * complete copyright information.
  */
 
-#include <h/mh.h>
+#include "h/mh.h"
+#include "sbr/m_name.h"
+#include "sbr/m_gmprot.h"
+#include "sbr/getarguments.h"
+#include "sbr/seq_setprev.h"
+#include "sbr/seq_setcur.h"
+#include "sbr/seq_save.h"
+#include "sbr/smatch.h"
+#include "sbr/m_convert.h"
+#include "sbr/getfolder.h"
+#include "sbr/folder_read.h"
+#include "sbr/context_save.h"
+#include "sbr/context_replace.h"
+#include "sbr/context_find.h"
+#include "sbr/ambigsw.h"
+#include "sbr/path.h"
+#include "sbr/print_version.h"
+#include "sbr/print_help.h"
+#include "sbr/error.h"
 #include <fcntl.h>
-#include <h/signals.h>
-#include <h/md5.h>
-#include <h/mts.h>
-#include <h/tws.h>
-#include <h/mime.h>
-#include <h/mhparse.h>
-#include <h/mhcachesbr.h>
+#include "h/signals.h"
+#include "h/md5.h"
+#include "h/mts.h"
+#include "h/tws.h"
+#include "h/mime.h"
+#include "h/mhparse.h"
+#include "h/mhcachesbr.h"
 #include "h/done.h"
-#include <h/utils.h>
+#include "h/utils.h"
 #include "mhmisc.h"
 #include "sbr/m_maildir.h"
 #include "mhfree.h"
@@ -71,7 +89,7 @@ main (int argc, char **argv)
 {
     bool sizesw = true;
     bool headsw = true;
-    int chgflag = 1;
+    bool chgflag = true;
     bool verbosw = false;
     bool dispo = false;
     int msgnum, *icachesw;
@@ -191,10 +209,10 @@ do_cache:
                continue;
 
            case CHGSW:
-               chgflag++;
+               chgflag = true;
                continue;
            case NCHGSW:
-               chgflag = 0;
+               chgflag = false;
                continue;
 
            case VERBSW: