diff options
Diffstat (limited to 'winsup/cygwin/tty.h')
-rw-r--r-- | winsup/cygwin/tty.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/tty.h b/winsup/cygwin/tty.h index 65f184997..b05ed9780 100644 --- a/winsup/cygwin/tty.h +++ b/winsup/cygwin/tty.h @@ -1,6 +1,7 @@ /* tty.h: shared tty info for cygwin - Copyright 2000, 2001, 2002, 2003, 2004, 2006, 2009, 2010, 2011 Red Hat, Inc. + Copyright 2000, 2001, 2002, 2003, 2004, 2006, 2009, 2010, 2011, 2012, 2013 + Red Hat, Inc. This file is part of Cygwin. @@ -77,16 +78,15 @@ public: void setsid (pid_t tsid) {sid = tsid;} void kill_pgrp (int); int is_orphaned_process_group (int); - const char *ttyname () __attribute ((regparm (1))); + const __reg1 char *ttyname () __attribute (()); }; class fhandler_pty_master; class tty: public tty_min { - HANDLE get_event (const char *fmt, PSECURITY_ATTRIBUTES sa, + HANDLE __reg3 get_event (const char *fmt, PSECURITY_ATTRIBUTES sa, BOOL manual_reset = FALSE); - __attribute__ ((regparm (3))); public: pid_t master_pid; /* PID of tty master process */ @@ -124,7 +124,7 @@ public: int connect (int); void init (); tty_min *get_cttyp (); - int __stdcall attach (int n) __attribute__ ((regparm (2))); + int __reg2 attach (int n); static void __stdcall init_session (); friend class lock_ttys; }; |