summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshpty.c
diff options
context:
space:
mode:
authorstevesk <stevesk@openbsd.org>2007-09-11 23:49:09 +0000
committerstevesk <stevesk@openbsd.org>2007-09-11 23:49:09 +0000
commit49d1044aee0beaca1d6d2c005d77c1bf58e19685 (patch)
tree102f620cf09d1ddf795bbb47e656fdc5967f2b64 /usr.bin/ssh/sshpty.c
parentthis is where it all started, since future ntpd.conf commands will require (diff)
downloadwireguard-openbsd-49d1044aee0beaca1d6d2c005d77c1bf58e19685.tar.xz
wireguard-openbsd-49d1044aee0beaca1d6d2c005d77c1bf58e19685.zip
remove #if defined block not needed; ok markus@ dtucker@
Diffstat (limited to 'usr.bin/ssh/sshpty.c')
-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