Commit bd3a8454391bb04d515a48b9547e4fe929a852ba
1 parent
fa1bdde4
Avoid warnings.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4679 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
2 additions
and
1 deletions
tests/cris/check_swap.c
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); |