]> git.proxmox.com Git - qemu.git/commitdiff
Avoid warnings.
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 6 Jun 2008 11:00:04 +0000 (11:00 +0000)
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 6 Jun 2008 11:00:04 +0000 (11:00 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4679 c046a42c-6fe2-441c-8c8c-71466251a162

tests/cris/check_swap.c
tests/cris/crisutils.h

index c1eac88e53b98f392dba98a8f5258175cdfd11af..743cfc54d315fb5809665f6e7d5fa37ed3cf64ed 100644 (file)
@@ -72,4 +72,5 @@ int main(void)
 {
        check_swap();
        pass();
+       return 0;
 }
index 63c713897cb6bc3e990eb4b19ffcae827fb0b37b..7d1ea86f737fba74c4271eb262644332245c1f78 100644 (file)
@@ -4,7 +4,7 @@ static char *tst_cc_loc = NULL;
 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);