diff --git a/script.c b/script.c index 9d5a3246b..8b70b9ce8 100644 --- a/script.c +++ b/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;