From 1f36328e7f31694b422c29881c17e957265d8344 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 1 May 2013 01:20:37 +0000 Subject: 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. --- winsup/cygwin/fhandler_dsp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/fhandler_dsp.cc') diff --git a/winsup/cygwin/fhandler_dsp.cc b/winsup/cygwin/fhandler_dsp.cc index c80705836..72256b056 100644 --- a/winsup/cygwin/fhandler_dsp.cc +++ b/winsup/cygwin/fhandler_dsp.cc @@ -1095,7 +1095,7 @@ fhandler_dev_dsp::write (const void *ptr, size_t len) return len - len_s + written; } -void __stdcall +void __reg3 fhandler_dev_dsp::read (void *ptr, size_t& len) { debug_printf ("ptr=%p len=%ld", ptr, len); -- cgit v1.2.3