projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed a remaining RETSIGTYPE. Also change a few locals from int to unsigned to...
[mmh]
/
uip
/
msh.c
diff --git
a/uip/msh.c
b/uip/msh.c
index
9e56ddd
..
07110fd
100644
(file)
--- a/
uip/msh.c
+++ b/
uip/msh.c
@@
-195,10
+195,10
@@
static int initaux_io (struct Cmd *);
static void fin_io (struct Cmd *, int);
static void finaux_io (struct Cmd *);
static void m_init (void);
static void fin_io (struct Cmd *, int);
static void finaux_io (struct Cmd *);
static void m_init (void);
-static RETSIGTYPE intrser (int);
-static RETSIGTYPE pipeser (int);
-static RETSIGTYPE quitser (int);
-static RETSIGTYPE alrmser (int);
+static void intrser (int);
+static void pipeser (int);
+static void quitser (int);
+static void alrmser (int);
static int pINI (void);
static int pQRY (char *, int);
static int pQRY1 (int);
static int pINI (void);
static int pQRY (char *, int);
static int pQRY1 (int);
@@
-1618,13
+1618,9
@@
seq_setcur (struct msgs *mp, int msgnum)
-static RETSIGTYPE
+static void
intrser (int i)
{
intrser (int i)
{
-#ifndef RELIABLE_SIGNALS
- SIGNAL (SIGINT, intrser);
-#endif
-
discard (stdout);
interrupted++;
discard (stdout);
interrupted++;
@@
-1635,13
+1631,9
@@
intrser (int i)
}
}
-static RETSIGTYPE
+static void
pipeser (int i)
{
pipeser (int i)
{
-#ifndef RELIABLE_SIGNALS
- SIGNAL (SIGPIPE, pipeser);
-#endif
-
if (broken_pipe++ == 0)
fprintf (stderr, "broken pipe\n");
told_to_quit++;
if (broken_pipe++ == 0)
fprintf (stderr, "broken pipe\n");
told_to_quit++;
@@
-1654,13
+1646,9
@@
pipeser (int i)
}
}
-static RETSIGTYPE
+static void
quitser (int i)
{
quitser (int i)
{
-#ifndef RELIABLE_SIGNALS
- SIGNAL (SIGQUIT, quitser);
-#endif
-
told_to_quit++;
interrupted++;
told_to_quit++;
interrupted++;
@@
-1671,7
+1659,7
@@
quitser (int i)
}
}
-static RETSIGTYPE
+static void
alrmser (int i)
{
longjmp (peerenv, DONE);
alrmser (int i)
{
longjmp (peerenv, DONE);