* [Qemu-devel] [4679] Avoid warnings.
@ 2008-06-06 11:00 Edgar E. Iglesias
0 siblings, 0 replies; only message in thread
From: Edgar E. Iglesias @ 2008-06-06 11:00 UTC (permalink / raw)
To: qemu-devel
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-06 11:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-06 11:00 [Qemu-devel] [4679] Avoid warnings Edgar E. Iglesias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).