提交 5510dec1 编写于 作者: Y yiyue.fang

fixed a syntax error

error: expected expression before 'void'
error: too many arguments to function
上级 93a01ee9
...@@ -114,7 +114,7 @@ int _tc_semaphore_static(void) ...@@ -114,7 +114,7 @@ int _tc_semaphore_static(void)
{ {
/* 设置TestCase清理回调函数 */ /* 设置TestCase清理回调函数 */
tc_cleanup(_tc_cleanup); tc_cleanup(_tc_cleanup);
semaphore_static_init(void); semaphore_static_init();
/* 返回TestCase运行的最长时间 */ /* 返回TestCase运行的最长时间 */
return 100; return 100;
...@@ -125,7 +125,7 @@ FINSH_FUNCTION_EXPORT(_tc_semaphore_static, a static semaphore example); ...@@ -125,7 +125,7 @@ FINSH_FUNCTION_EXPORT(_tc_semaphore_static, a static semaphore example);
/* 用户应用入口 */ /* 用户应用入口 */
int rt_application_init(void) int rt_application_init(void)
{ {
semaphore_static_init(void); semaphore_static_init();
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册