Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4Zg0-0001yR-BE for qemu-devel@nongnu.org; Fri, 06 Jun 2008 07:00:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4Zg0-0001y9-0i for qemu-devel@nongnu.org; Fri, 06 Jun 2008 07:00:08 -0400 Received: from [199.232.76.173] (port=49711 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4Zfz-0001xz-JY for qemu-devel@nongnu.org; Fri, 06 Jun 2008 07:00:07 -0400 Received: from savannah.gnu.org ([199.232.41.3]:55651 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K4Zfz-0004s8-9Z for qemu-devel@nongnu.org; Fri, 06 Jun 2008 07:00:07 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1K4Zfx-0005LH-W3 for qemu-devel@nongnu.org; Fri, 06 Jun 2008 11:00:06 +0000 Received: from edgar_igl by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1K4Zfx-0005LC-JL for qemu-devel@nongnu.org; Fri, 06 Jun 2008 11:00:05 +0000 MIME-Version: 1.0 Errors-To: edgar_igl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: "Edgar E. Iglesias" Message-Id: Date: Fri, 06 Jun 2008 11:00:05 +0000 Subject: [Qemu-devel] [4679] Avoid warnings. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 4679 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4679 Author: edgar_igl Date: 2008-06-06 11:00:04 +0000 (Fri, 06 Jun 2008) Log Message: ----------- Avoid warnings. Modified Paths: -------------- trunk/tests/cris/check_swap.c trunk/tests/cris/crisutils.h Modified: trunk/tests/cris/check_swap.c =================================================================== --- trunk/tests/cris/check_swap.c 2008-06-06 10:58:48 UTC (rev 4678) +++ trunk/tests/cris/check_swap.c 2008-06-06 11:00:04 UTC (rev 4679) @@ -72,4 +72,5 @@ { check_swap(); pass(); + return 0; } Modified: trunk/tests/cris/crisutils.h =================================================================== --- trunk/tests/cris/crisutils.h 2008-06-06 10:58:48 UTC (rev 4678) +++ trunk/tests/cris/crisutils.h 2008-06-06 11:00:04 UTC (rev 4679) @@ -4,7 +4,7 @@ do { tst_cc_loc = "test_cc failed at " CURRENT_LOCATION; } while(0) /* We need a real symbol to signal error. */ -static void _err(void) { +void _err(void) { if (!tst_cc_loc) tst_cc_loc = "tst_cc_failed\n"; _fail(tst_cc_loc);