g/c unused code
This commit is contained in:
30
script.c
30
script.c
@@ -803,36 +803,6 @@ sigchild(signo)
|
||||
errno = serrno;
|
||||
}
|
||||
|
||||
static void
|
||||
sigrepost(s)
|
||||
int s;
|
||||
{
|
||||
int serrno = errno;
|
||||
|
||||
/* Re-post signal to child via its process group. */
|
||||
killpg(grandchild, s);
|
||||
|
||||
errno = serrno;
|
||||
}
|
||||
|
||||
static void
|
||||
sigtstp(s)
|
||||
int s;
|
||||
{
|
||||
int serrno = errno;
|
||||
|
||||
write(STDERR_FILENO, "sigtstp\n", 8);
|
||||
|
||||
/* Event loop needs to know which signal to relay to parent. */
|
||||
signo = s;
|
||||
|
||||
/* Suspend the command we are running and set state. */
|
||||
killpg(grandchild, SIGSTOP);
|
||||
suspended = 1;
|
||||
|
||||
errno = serrno;
|
||||
}
|
||||
|
||||
static void
|
||||
sigwinch(s)
|
||||
int s;
|
||||
|
Reference in New Issue
Block a user