diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2013-05-01 01:20:37 +0000 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2013-05-01 01:20:37 +0000 |
commit | 1f36328e7f31694b422c29881c17e957265d8344 (patch) | |
tree | 5fc3907f62575f45e7f49386359d9c17909a6f6a /winsup/cygwin/fhandler_tape.cc | |
parent | 92f63de3676413f9396fb17c55ca8f44f31f506b (diff) | |
download | cygnal-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_tape.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tape.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_tape.cc b/winsup/cygwin/fhandler_tape.cc index 14891a2e8..b9833ffaf 100644 --- a/winsup/cygwin/fhandler_tape.cc +++ b/winsup/cygwin/fhandler_tape.cc @@ -1237,7 +1237,7 @@ fhandler_dev_tape::close () return ret ? -1 : cret; } -void __stdcall +void __reg3 fhandler_dev_tape::raw_read (void *ptr, size_t &ulen) { char *buf = (char *) ptr; @@ -1339,7 +1339,7 @@ fhandler_dev_tape::raw_read (void *ptr, size_t &ulen) unlock (); } -ssize_t __stdcall +ssize_t __reg3 fhandler_dev_tape::raw_write (const void *ptr, size_t len) { if (!_lock (true)) |