diff options
| author | bernard.xiong <[email protected]> | 2010-03-25 15:19:42 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-03-25 15:19:42 +0000 |
| commit | e8cc40b3ec6bd7858e3d15349f30eb611b3f8d90 (patch) | |
| tree | ae17144c024b265d8fa8f1e3c39803c710b77d7c /examples/kernel/timer_dynamic.c | |
| parent | 474d3b805660b260739702089be2e99a26f6d12b (diff) | |
fix compiling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@544 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'examples/kernel/timer_dynamic.c')
| -rw-r--r-- | examples/kernel/timer_dynamic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/kernel/timer_dynamic.c b/examples/kernel/timer_dynamic.c index a4f5ed947f..b28a4c9056 100644 --- a/examples/kernel/timer_dynamic.c +++ b/examples/kernel/timer_dynamic.c @@ -11,13 +11,13 @@ static rt_timer_t timer1; static rt_timer_t timer2;
/* 定时器1超时函数 */
-void timeout1(void* parameter)
+static void timeout1(void* parameter)
{
rt_kprintf("periodic timer is timeout\n");
}
/* 定时器2超时函数 */
-void timeout2(void* parameter)
+static void timeout2(void* parameter)
{
rt_kprintf("one shot timer is timeout\n");
}
|
