Commit bd3a8454391bb04d515a48b9547e4fe929a852ba

Authored by edgar_igl
1 parent fa1bdde4

Avoid warnings.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4679 c046a42c-6fe2-441c-8c8c-71466251a162
tests/cris/check_swap.c
@@ -72,4 +72,5 @@ int main(void) @@ -72,4 +72,5 @@ int main(void)
72 { 72 {
73 check_swap(); 73 check_swap();
74 pass(); 74 pass();
  75 + return 0;
75 } 76 }
tests/cris/crisutils.h
@@ -4,7 +4,7 @@ static char *tst_cc_loc = NULL; @@ -4,7 +4,7 @@ static char *tst_cc_loc = NULL;
4 do { tst_cc_loc = "test_cc failed at " CURRENT_LOCATION; } while(0) 4 do { tst_cc_loc = "test_cc failed at " CURRENT_LOCATION; } while(0)
5 5
6 /* We need a real symbol to signal error. */ 6 /* We need a real symbol to signal error. */
7 -static void _err(void) { 7 +void _err(void) {
8 if (!tst_cc_loc) 8 if (!tst_cc_loc)
9 tst_cc_loc = "tst_cc_failed\n"; 9 tst_cc_loc = "tst_cc_failed\n";
10 _fail(tst_cc_loc); 10 _fail(tst_cc_loc);