]> diplodocus.org Git - nmh/blobdiff - uip/sortm.c
mhshow/test-charset: Use octal, not hex, in printf(1) format string.
[nmh] / uip / sortm.c
index 3b5a4d8a65ae6efb50238d9f4903e545bf1956c6..0b951bfe78f812be2d68551764b4d35b5e35d8c4 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <h/mh.h>
 #include <h/tws.h>
+#include "h/done.h"
 #include <h/utils.h>
 #include "sbr/m_maildir.h"
 
@@ -321,7 +322,7 @@ read_hdrs (struct msgs *mp, char *datesw)
        }
     }
     s->s_msg = 0;
-    return(s - smsgs);
+    return s - smsgs;
 }
 
 
@@ -484,7 +485,7 @@ subsort (struct smsg **a, struct smsg **b)
     if ((i = strcmp ((*a)->s_subj, (*b)->s_subj)))
        return i;
 
-    return (dsort (a, b));
+    return dsort(a, b);
 }
 
 static int