aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/sshtty.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/sshtty.c')
-rw-r--r--crypto/openssh/sshtty.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/crypto/openssh/sshtty.c b/crypto/openssh/sshtty.c
index 2f47b06d12eb..4fb2d3dae8ee 100644
--- a/crypto/openssh/sshtty.c
+++ b/crypto/openssh/sshtty.c
@@ -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.5 2003/09/19 17:43:35 markus Exp $");
#include "sshtty.h"
#include "log.h"
@@ -43,12 +43,6 @@ RCSID("$OpenBSD: sshtty.c,v 1.4 2003/07/16 10:36:28 markus Exp $");
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 @@ leave_raw_mode(void)
perror("tcsetattr");
else
_in_raw_mode = 0;
-
- fatal_remove_cleanup((void (*) (void *)) leave_raw_mode, NULL);
}
void
@@ -94,6 +86,4 @@ enter_raw_mode(void)
perror("tcsetattr");
else
_in_raw_mode = 1;
-
- fatal_add_cleanup((void (*) (void *)) leave_raw_mode, NULL);
}