X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/e491542da563673b49c6f6df9948ffaffbeed4fb..43cfc6660af9677d520d578713f57ae0d8d1b81f:/uip/scan.c diff --git a/uip/scan.c b/uip/scan.c index 932ffda0..31309220 100644 --- a/uip/scan.c +++ b/uip/scan.c @@ -13,7 +13,6 @@ #include #include #include -#include #define SCAN_SWITCHES \ X("clear", 0, CLRSW) \ @@ -38,12 +37,6 @@ DEFINE_SWITCH_ARRAY(SCAN, switches); #undef X -/* - * prototypes - */ -void clear_screen(void); /* from termsbr.c */ - - int main (int argc, char **argv) { @@ -59,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 */ @@ -289,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;