提交 bd3a8454 编写于 作者: E edgar_igl

Avoid warnings.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4679 c046a42c-6fe2-441c-8c8c-71466251a162
上级 fa1bdde4
......@@ -72,4 +72,5 @@ int main(void)
{
check_swap();
pass();
return 0;
}
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册