diff options
| author | yiyue.fang <[email protected]> | 2013-04-10 00:17:52 +0800 |
|---|---|---|
| committer | yiyue.fang <[email protected]> | 2013-04-10 00:17:52 +0800 |
| commit | 5510dec187737a1f91f9f097032b217a0d581dd8 (patch) | |
| tree | a0f731278b73d3f37ccf888cece6671fefc3b309 /examples | |
| parent | 93a01ee949c909ed9143ac5e8e85de04ab18c437 (diff) | |
fixed a syntax error
error: expected expression before 'void'
error: too many arguments to function
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/kernel/semaphore_static.c | 4 |
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; } |
