diff options
author | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-06-06 11:00:04 +0000 |
---|---|---|
committer | edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-06-06 11:00:04 +0000 |
commit | bd3a8454391bb04d515a48b9547e4fe929a852ba (patch) | |
tree | 598443cfa1edea75b2f38db62336cf57bee0637c /tests | |
parent | fa1bdde4a3db4b0bc21b7ae1a3c8af5678c31dcc (diff) | |
download | hqemu-bd3a8454391bb04d515a48b9547e4fe929a852ba.zip hqemu-bd3a8454391bb04d515a48b9547e4fe929a852ba.tar.gz |
Avoid warnings.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4679 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cris/check_swap.c | 1 | ||||
-rw-r--r-- | tests/cris/crisutils.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/cris/check_swap.c b/tests/cris/check_swap.c index c1eac88..743cfc5 100644 --- a/tests/cris/check_swap.c +++ b/tests/cris/check_swap.c @@ -72,4 +72,5 @@ int main(void) { check_swap(); pass(); + return 0; } diff --git a/tests/cris/crisutils.h b/tests/cris/crisutils.h index 63c7138..7d1ea86 100644 --- a/tests/cris/crisutils.h +++ b/tests/cris/crisutils.h @@ -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); |