X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmsh.c;h=b3aa3a107aec077ce57472d8c129851b197ccdca;hb=015e83362f21a061bf268b878693d72309c21e55;hp=f6d1a362b4cc9f2c59125e57957418b549136e4e;hpb=df6971a59e8d01dcfe605bbac949b7d4b3ab0a92;p=mmh diff --git a/uip/msh.c b/uip/msh.c index f6d1a36..b3aa3a1 100644 --- a/uip/msh.c +++ b/uip/msh.c @@ -25,7 +25,7 @@ #include #include -#include +#include #include #include #include @@ -155,7 +155,6 @@ int told_to_quit; /* SIGQUIT detected */ */ void fsetup (char *); void setup (char *); -FILE *msh_ready (int, int); void readids (int); int readid (int); void display_info (int); @@ -174,7 +173,6 @@ static int read_map (char *, long); static int read_file (long, int); static void m_gMsgs (int); -FILE *msh_ready (int, int); static int check_folder (int); static void scanrange (int, int); static void scanstring (char *); @@ -237,10 +235,10 @@ main (int argc, char **argv) case HELPSW: snprintf (buf, sizeof(buf), "%s [switches] file", invo_name); print_help (buf, switches, 1); - done (1); + done (0); case VERSIONSW: print_version(invo_name); - done (1); + done (0); case IDSW: if (!(cp = *argp++) || *cp == '-') @@ -803,10 +801,10 @@ m_gMsgs (int n) FILE * msh_ready (int msgnum, int full) { - NMH_UNUSED (full); register int msgp; int fd; char *cp; + NMH_UNUSED (full); if (yp) { fclose (yp); @@ -1917,7 +1915,7 @@ pFIN (void) { int status; - switch (m_setjmp (peerenv)) { + switch (setjmp (peerenv)) { case OK: SIGNAL (SIGALRM, alrmser); alarm (ALARM);