aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/tty.h
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2022-05-23 15:52:52 -0400
committerKen Brown <kbrown@cornell.edu>2022-05-29 17:45:52 -0400
commit2126f966aeba1616c3bb8b3886061f6235126dcc (patch)
treeba7df348570dd3c8df151b5c0a6c71490a69865c /winsup/cygwin/tty.h
parent2d9b48760c48f19b2941f05ee6720f510700823c (diff)
downloadnewlib-2126f966aeba1616c3bb8b3886061f6235126dcc.zip
newlib-2126f966aeba1616c3bb8b3886061f6235126dcc.tar.gz
newlib-2126f966aeba1616c3bb8b3886061f6235126dcc.tar.bz2
Cygwin: remove regparm.h
This file defines the macros __reg1, __reg2, and __reg3, which are defined to be empty on 64-bit Cygwin. Remove all occurrences of these macros.
Diffstat (limited to 'winsup/cygwin/tty.h')
-rw-r--r--winsup/cygwin/tty.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/tty.h b/winsup/cygwin/tty.h
index 3a87110..c4f2b5d 100644
--- a/winsup/cygwin/tty.h
+++ b/winsup/cygwin/tty.h
@@ -77,7 +77,7 @@ public:
void setsid (pid_t tsid) {sid = tsid;}
void kill_pgrp (int, pid_t target_pgid = 0);
int is_orphaned_process_group (int);
- const __reg1 char *ttyname () __attribute (());
+ const char *ttyname () __attribute (());
};
@@ -88,7 +88,7 @@ class fhandler_pty_master;
class tty: public tty_min
{
- HANDLE __reg3 get_event (const char *fmt, PSECURITY_ATTRIBUTES sa,
+ HANDLE get_event (const char *fmt, PSECURITY_ATTRIBUTES sa,
BOOL manual_reset = FALSE);
public:
pid_t master_pid; /* PID of tty master process */
@@ -191,7 +191,7 @@ public:
int connect (int);
void init ();
tty_min *get_cttyp ();
- int __reg2 attach (int n);
+ int attach (int n);
static void __stdcall init_session ();
friend class lock_ttys;
};