[4679] Avoid warnings.
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
===================================================================
tests/cris/check_swap.c +1 -0
@@ -72,4 +72,5 @@ {check_swap ();pass (); +return 0 ; }
Modified: trunk/tests/cris/crisutils.h
===================================================================
tests/cris/crisutils.h +1 -1
@@ -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);