]> diplodocus.org Git - nmh/blobdiff - uip/scan.c
Separate export from assignment in test-dist and test-attach.
[nmh] / uip / scan.c
index 6a134631f18facc7176dfbadfbc7e8c346f05bc5..31309220dc247e1b37254fc3ed80f2a71963ed7d 100644 (file)
@@ -37,12 +37,6 @@ DEFINE_SWITCH_ARRAY(SCAN, switches);
 #undef X
 
 
-/*
- * prototypes
- */
-void clear_screen(void);  /* from termsbr.c */
-
-
 int
 main (int argc, char **argv)
 {
@@ -58,9 +52,7 @@ main (int argc, char **argv)
     struct msgs *mp;
     FILE *in;
 
-#ifdef LOCALE
     setlocale(LC_ALL, "");
-#endif
     invo_name = r1bindex (argv[0], '/');
 
     /* read user profile/context */
@@ -288,7 +280,7 @@ main (int argc, char **argv)
     ivector_free (seqnum);
     folder_free (mp);  /* free folder/message structure */
     if (clearflag)
-       clear_screen ();
+       nmh_clear_screen ();
 
     done (0);
     return 1;