summaryrefslogtreecommitdiff
path: root/examples/kernel/semaphore_static.c
diff options
context:
space:
mode:
authorshaolin <[email protected]>2013-04-10 21:48:16 +0800
committershaolin <[email protected]>2013-04-10 21:48:16 +0800
commitf91fc2dbe270b647e3e7065e8001d7f7db79e787 (patch)
treeee7a3511d40abf546ea938ad33849367626551c5 /examples/kernel/semaphore_static.c
parent83751c63e3aad965323ebc05a4f34260bc7f624b (diff)
parentf34ef8d984635a5c70f0cf1f74f3807693150aa1 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'examples/kernel/semaphore_static.c')
-rw-r--r--examples/kernel/semaphore_static.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/kernel/semaphore_static.c b/examples/kernel/semaphore_static.c
index 5528b806fb..b64d5cef47 100644
--- a/examples/kernel/semaphore_static.c
+++ b/examples/kernel/semaphore_static.c
@@ -114,7 +114,7 @@ int _tc_semaphore_static(void)
{
/* 设置TestCase清理回调函数 */
tc_cleanup(_tc_cleanup);
- semaphore_static_init(void);
+ semaphore_static_init();
/* 返回TestCase运行的最长时间 */
return 100;
@@ -125,7 +125,7 @@ FINSH_FUNCTION_EXPORT(_tc_semaphore_static, a static semaphore example);
/* 用户应用入口 */
int rt_application_init(void)
{
- semaphore_static_init(void);
+ semaphore_static_init();
return 0;
}