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)