From 2672c2a8f45dbaee8e484825621c013a9e7fc79a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amadeusz=20S=C5=82awi=C5=84ski?= Date: Sun, 9 Jul 2017 16:57:25 +0200 Subject: [PATCH] remove cruft from pty.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Amadeusz Sławiński --- src/pty.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/pty.c b/src/pty.c index 8d59ea6..33965e8 100644 --- a/src/pty.c +++ b/src/pty.c @@ -31,12 +31,6 @@ #include "pty.h" #include -#include -#include -#include -#include -#include -#include #include "screen.h" @@ -50,26 +44,8 @@ # include #endif -/* - * if no PTYRANGE[01] is in the config file, we pick a default - */ -#ifndef PTYRANGE0 -#define PTYRANGE0 "qpr" -#endif -#ifndef PTYRANGE1 -#define PTYRANGE1 "0123456789abcdef" -#endif - int pty_preopen = 0; -/* - * Open all ptys with O_NOCTTY, just to be on the safe side - * (RISCos mips breaks otherwise) - */ -#ifndef O_NOCTTY -#define O_NOCTTY 0 -#endif - /***************************************************************/ int OpenPTY(char **ttyn)