Avoid warnings.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4679 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
edgar_igl 2008-06-06 11:00:04 +00:00
parent fa1bdde4a3
commit bd3a845439
2 changed files with 2 additions and 1 deletions

View File

@ -72,4 +72,5 @@ int main(void)
{
check_swap();
pass();
return 0;
}

View 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);