]> granicus.if.org Git - sudo/commitdiff
g/c unused code
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 14 Oct 2009 13:20:24 +0000 (13:20 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 14 Oct 2009 13:20:24 +0000 (13:20 +0000)
script.c

index 9d5a3246b6e186c9492b18e32ccf6d8f5f6f7310..8b70b9ce8cb07e502a083525becb0179b0a8343e 100644 (file)
--- 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;