switch to POSIX tty, old code still supported under OLD_TTY
[unix-history] / usr / src / usr.bin / window / wwsuspend.c
index b00edb4..b7063ef 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)wwsuspend.c        3.13 (Berkeley) %G%";
+static char sccsid[] = "@(#)wwsuspend.c        3.14 (Berkeley) %G%";
 #endif /* not lint */
 
 #include "ww.h"
 #endif /* not lint */
 
 #include "ww.h"
@@ -25,7 +25,7 @@ wwsuspend()
        (void) signal(SIGTSTP, SIG_DFL);
        (void) kill(0, SIGTSTP);
        (void) signal(SIGTSTP, SIG_IGN);
        (void) signal(SIGTSTP, SIG_DFL);
        (void) kill(0, SIGTSTP);
        (void) signal(SIGTSTP, SIG_IGN);
-       (void) wwsettty(0, &wwnewtty, &wwoldtty);
+       (void) wwsettty(0, &wwnewtty);
        xxstart();
        wwredraw();             /* XXX, clears the screen twice */
        (void) signal(SIGTSTP, oldsig);
        xxstart();
        wwredraw();             /* XXX, clears the screen twice */
        (void) signal(SIGTSTP, oldsig);