X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmshcmds.c;h=b46f753c4cf43e04fd2672477d5242376fa60e52;hb=93cf33c07eed0e56b4f3a0d1c07ff183ac1510ef;hp=3bd4db35c432cd04885ac3262e0d5600348f379f;hpb=c05210483d82bf5f3786725ff80e12444088a701;p=mmh diff --git a/uip/mshcmds.c b/uip/mshcmds.c index 3bd4db3..b46f753 100644 --- a/uip/mshcmds.c +++ b/uip/mshcmds.c @@ -1086,6 +1086,8 @@ static char *hlpmsg[] = { void helpcmd (char **args) { + NMH_UNUSED (args); + int i; for (i = 0; hlpmsg[i]; i++) { @@ -2366,6 +2368,8 @@ show (int msgnum) static int eom_action (int c) { + NMH_UNUSED (c); + return (ftell (mhlfp) >= Msgs[mhlnum].m_stop); } @@ -2406,19 +2410,7 @@ ask (int msgnum) fflush (stdout); buf[0] = 0; -#ifndef BSD42 read (fileno (stdout), buf, sizeof buf); -#else /* BSD42 */ - switch (setjmp (sigenv)) { - case OK: - should_intr = 1; - read (fileno (stdout), buf, sizeof buf);/* fall... */ - - default: - should_intr = 0; - break; - } -#endif /* BSD42 */ if (strchr(buf, '\n') == NULL) putchar ('\n');