summaryrefslogtreecommitdiffstats
path: root/Include/pyport.h
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2017-09-29 05:44:27 (GMT)
committerGitHub <noreply@github.com>2017-09-29 05:44:27 (GMT)
commit288d1daadaddf6ae35cf666138ba4b5d07449657 (patch)
tree1cfefe910f99901373d7253bf9be9c5074dee0ea /Include/pyport.h
parenta106aec2ed6ba171838ca7e6ba43c4e722bbecd1 (diff)
downloadcpython-288d1daadaddf6ae35cf666138ba4b5d07449657.zip
cpython-288d1daadaddf6ae35cf666138ba4b5d07449657.tar.gz
cpython-288d1daadaddf6ae35cf666138ba4b5d07449657.tar.bz2
remove support for BSD/OS (closes bpo-31624) (#3812)
Diffstat (limited to 'Include/pyport.h')
-rw-r--r--Include/pyport.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index dbf6db6..2742e47 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -556,16 +556,6 @@ extern char * _getpty(int *, int, mode_t, int);
#include <sys/termio.h>
#endif
-#if defined(HAVE_OPENPTY) || defined(HAVE_FORKPTY)
-#if !defined(HAVE_PTY_H) && !defined(HAVE_LIBUTIL_H)
-/* BSDI does not supply a prototype for the 'openpty' and 'forkpty'
- functions, even though they are included in libutil. */
-#include <termios.h>
-extern int openpty(int *, int *, char *, struct termios *, struct winsize *);
-extern pid_t forkpty(int *, char *, struct termios *, struct winsize *);
-#endif /* !defined(HAVE_PTY_H) && !defined(HAVE_LIBUTIL_H) */
-#endif /* defined(HAVE_OPENPTY) || defined(HAVE_FORKPTY) */
-
/* On 4.4BSD-descendants, ctype functions serves the whole range of
* wchar_t character set rather than single byte code points only.