#include <termios.h>
#include <pwd.h>
-#include <setjmp.h>
+#include <h/m_setjmp.h>
#include <signal.h>
#include <h/msh.h>
#include <h/vmhsbr.h>
FILE *
msh_ready (int msgnum, int full)
{
+ NMH_UNUSED (full);
register int msgp;
int fd;
char *cp;
static void
intrser (int i)
{
+ NMH_UNUSED (i);
discard (stdout);
interrupted++;
}
static void
pipeser (int i)
{
+ NMH_UNUSED (i);
if (broken_pipe++ == 0)
fprintf (stderr, "broken pipe\n");
told_to_quit++;
static void
quitser (int i)
{
+ NMH_UNUSED (i);
told_to_quit++;
interrupted++;
}
static void
alrmser (int i)
{
+ NMH_UNUSED (i);
longjmp (peerenv, DONE);
}
static int
pQRY (char *str, int scansw)
{
+ NMH_UNUSED (str);
if (pQRY1 (scansw) == NOTOK || pQRY2 () == NOTOK)
return NOTOK;
{
int status;
- switch (setjmp (peerenv)) {
+ switch (m_setjmp (peerenv)) {
case OK:
SIGNAL (SIGALRM, alrmser);
alarm (ALARM);