summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_tty.cc
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2013-05-01 01:20:37 +0000
committerYaakov Selkowitz <yselkowi@redhat.com>2013-05-01 01:20:37 +0000
commit1f36328e7f31694b422c29881c17e957265d8344 (patch)
tree5fc3907f62575f45e7f49386359d9c17909a6f6a /winsup/cygwin/fhandler_tty.cc
parent92f63de3676413f9396fb17c55ca8f44f31f506b (diff)
downloadcygnal-1f36328e7f31694b422c29881c17e957265d8344.tar.gz
cygnal-1f36328e7f31694b422c29881c17e957265d8344.tar.bz2
cygnal-1f36328e7f31694b422c29881c17e957265d8344.zip
Throughout, (mainly in fhandler*) fix remaining gcc 4.7 mismatch
warnings between regparm definitions and declarations. * smallprint.cc (__small_vswprintf): Conditionalize declaration and setting of l_opt for only x86_64. * spawn.cc (child_info_spawn::worker): Remove unused 'pid' variable. * thread.cc (verifyable_object_isvalid): Temporarily define as non-inline with gcc 4.7+, regardless of target.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r--winsup/cygwin/fhandler_tty.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc
index f213fe6ae..5949d0526 100644
--- a/winsup/cygwin/fhandler_tty.cc
+++ b/winsup/cygwin/fhandler_tty.cc
@@ -684,7 +684,7 @@ fhandler_pty_slave::write (const void *ptr, size_t len)
return towrite;
}
-void __stdcall
+void __reg3
fhandler_pty_slave::read (void *ptr, size_t& len)
{
ssize_t totalread = 0;
@@ -1150,7 +1150,7 @@ fhandler_pty_slave::fch_close_handles ()
close_maybe (inuse);
}
-int __stdcall
+int __reg1
fhandler_pty_slave::fchmod (mode_t mode)
{
int ret = -1;
@@ -1176,7 +1176,7 @@ errout:
return ret;
}
-int __stdcall
+int __reg2
fhandler_pty_slave::fchown (uid_t uid, gid_t gid)
{
int ret = -1;
@@ -1355,7 +1355,7 @@ fhandler_pty_master::write (const void *ptr, size_t len)
return i;
}
-void __stdcall
+void __reg3
fhandler_pty_master::read (void *ptr, size_t& len)
{
bg_check_types bg = bg_check (SIGTTIN);