]> diplodocus.org Git - nmh/blobdiff - uip/mshcmds.c
Fix up some warnings and problems when iconv doesn't exist.
[nmh] / uip / mshcmds.c
index acd7671fa112bb85d7fcbcb471cd288e4bc1aeed..6627c6ab61d2c61c3db51d15be677550084d5833 100644 (file)
@@ -14,8 +14,6 @@
 #include <h/scansbr.h>
 #include <h/tws.h>
 #include <h/mts.h>
-#include <errno.h>
-#include <signal.h>
 #include <h/msh.h>
 #include <h/picksbr.h>
 #include <h/utils.h>
@@ -1013,7 +1011,7 @@ forw (char *proc, char *filter, int vecp, char **vec)
                break;
        }
 
-    unlink (tmpfil);
+    (void) m_unlink (tmpfil);
 }
 
 
@@ -2072,7 +2070,7 @@ scancmd (char **args)
        }
 
     if (clearsw)
-       clear_screen ();
+       nmh_clear_screen ();
 }
 
 
@@ -2844,7 +2842,7 @@ ready: ;
     }
 
     if (!fmsh)
-       unlink (tmpfil);
+       (void) m_unlink (tmpfil);
     return status;
 }