Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 86b0feb5e..cd0ee570c 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -993,8 +993,6 @@ class fhandler_tty_slave: public fhandler_tty_common
class fhandler_pty_master: public fhandler_tty_common
{
int pktmode; // non-zero if pty in a packet mode.
-protected:
- device slave; // device type of slave
public:
int need_nl; // Next read should start with \n
DWORD dwProcessId; // Owner of master handles
@@ -1019,8 +1017,7 @@ public:
HANDLE from_master, to_master;
bool hit_eof ();
- int get_unit () const { return slave.minor; }
- bool setup (tty&);
+ bool setup (bool);
int dup (fhandler_base *);
void fixup_after_fork (HANDLE parent);
void fixup_after_exec ();