summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2007-09-11 23:49:10 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2007-09-11 23:49:10 +0000
commit5279663cb57b6885a68b717bda1acc300cbdafd0 (patch)
tree289ce1884e01067248fc65746d95549c77dec004
parent1035d13d98f5bad5f1361dad01ad9296d7ad868e (diff)
remove #if defined block not needed; ok markus@ dtucker@
-rw-r--r--usr.bin/ssh/sshpty.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.bin/ssh/sshpty.c b/usr.bin/ssh/sshpty.c
index e228f544f7b..eb48969d78c 100644
--- a/usr.bin/ssh/sshpty.c
+++ b/usr.bin/ssh/sshpty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshpty.c,v 1.27 2007/09/11 04:36:29 stevesk Exp $ */
+/* $OpenBSD: sshpty.c,v 1.28 2007/09/11 23:49:09 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -30,11 +30,6 @@
#include "sshpty.h"
#include "log.h"
-/* Pty allocated with _getpty gets broken if we do I_PUSH:es to it. */
-#if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY)
-#undef HAVE_DEV_PTMX
-#endif
-
#ifndef O_NOCTTY
#define O_NOCTTY 0
#endif