--- rxvt-unicode/src/ptytty.h 2006/01/17 12:29:40 1.11 +++ rxvt-unicode/src/ptytty.h 2006/01/18 14:47:45 1.14 @@ -9,7 +9,7 @@ # define NO_SETOWNER_TTYDEV 1 # endif #endif -#if defined(__CYGWIN32__) +#if defined(__CYGWIN__) # define NO_SETOWNER_TTYDEV 1 #endif @@ -51,12 +51,7 @@ #endif -struct rxvt_ptytty_base : rxvt_ptytty -{ - virtual void put () = 0; -}; - -struct rxvt_ptytty_unix : rxvt_ptytty_base +struct rxvt_ptytty_unix : rxvt_ptytty { char *name; @@ -72,6 +67,9 @@ rxvt_ptytty_unix (); ~rxvt_ptytty_unix (); + bool get (); + void put (); + #if UTMP_SUPPORT int utmp_pos; int cmd_pid; @@ -87,9 +85,6 @@ char ut_id[5]; #endif - bool get (); - void put (); - void login (int cmd_pid, bool login_shell, const char *hostname); void logout (); #endif