diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2013-05-01 05:20:37 +0400 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2013-05-01 05:20:37 +0400 |
commit | 1f36328e7f31694b422c29881c17e957265d8344 (patch) | |
tree | 5fc3907f62575f45e7f49386359d9c17909a6f6a /winsup/cygwin/window.cc | |
parent | 92f63de3676413f9396fb17c55ca8f44f31f506b (diff) |
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/window.cc')
-rw-r--r-- | winsup/cygwin/window.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/window.cc b/winsup/cygwin/window.cc index 27d8b4a4f..ce9a7c708 100644 --- a/winsup/cygwin/window.cc +++ b/winsup/cygwin/window.cc @@ -26,7 +26,7 @@ wininfo NO_COPY winmsg; muto NO_COPY wininfo::_lock; -int __stdcall +int __reg3 wininfo::process (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { #ifndef NOSTRACE @@ -57,7 +57,7 @@ process_window_events (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) } /* Handle windows events. Inherits ownership of the wininfo lock */ -DWORD WINAPI +DWORD __reg1 WINAPI wininfo::winthread () { MSG msg; |