=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/sshtty.c,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -u -r1.4 -r1.4.2.1 --- src/usr.bin/ssh/sshtty.c 2003/07/16 10:36:28 1.4 +++ src/usr.bin/ssh/sshtty.c 2004/02/28 03:51:34 1.4.2.1 @@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshtty.c,v 1.4 2003/07/16 10:36:28 markus Exp $"); +RCSID("$OpenBSD: sshtty.c,v 1.4.2.1 2004/02/28 03:51:34 brad Exp $"); #include "sshtty.h" #include "log.h" @@ -43,12 +43,6 @@ static struct termios _saved_tio; static int _in_raw_mode = 0; -int -in_raw_mode(void) -{ - return _in_raw_mode; -} - struct termios get_saved_tio(void) { @@ -64,8 +58,6 @@ perror("tcsetattr"); else _in_raw_mode = 0; - - fatal_remove_cleanup((void (*) (void *)) leave_raw_mode, NULL); } void @@ -94,6 +86,4 @@ perror("tcsetattr"); else _in_raw_mode = 1; - - fatal_add_cleanup((void (*) (void *)) leave_raw_mode, NULL); }