summaryrefslogtreecommitdiff
path: root/src/timer.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-08-27 01:21:57 +0000
committer[email protected] <[email protected]>2012-08-27 01:21:57 +0000
commita73abdccf5caa42224d83d646ae09a39813e8179 (patch)
treebd2e7b504008211b8ca403d700319cd1f6f12e3f /src/timer.c
parent907e1703e655d93bfa6617e3066932ab3440a8dc (diff)
split export symbols from rtm.c to each file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2263 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/timer.c')
-rw-r--r--src/timer.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/timer.c b/src/timer.c
index 78079ebc81..3a6337ab15 100644
--- a/src/timer.c
+++ b/src/timer.c
@@ -120,6 +120,7 @@ void rt_timer_init(rt_timer_t timer,
_rt_timer_init(timer, timeout, parameter, time, flag);
}
+RTM_EXPORT(rt_timer_init);
/**
* This function will detach a timer from timer management.
@@ -148,6 +149,7 @@ rt_err_t rt_timer_detach(rt_timer_t timer)
return -RT_EOK;
}
+RTM_EXPORT(rt_timer_detach);
#ifdef RT_USING_HEAP
/**
@@ -177,6 +179,7 @@ rt_timer_t rt_timer_create(const char *name, void (*timeout)(void *parameter),
return timer;
}
+RTM_EXPORT(rt_timer_create);
/**
* This function will delete a timer and release timer memory
@@ -205,6 +208,7 @@ rt_err_t rt_timer_delete(rt_timer_t timer)
return -RT_EOK;
}
+RTM_EXPORT(rt_timer_delete);
#endif
/**
@@ -287,6 +291,7 @@ rt_err_t rt_timer_start(rt_timer_t timer)
return -RT_EOK;
}
+RTM_EXPORT(rt_timer_start);
/**
* This function will stop the timer
@@ -320,6 +325,7 @@ rt_err_t rt_timer_stop(rt_timer_t timer)
return RT_EOK;
}
+RTM_EXPORT(rt_timer_stop);
/**
* This function will get or set some options of the timer
@@ -356,6 +362,7 @@ rt_err_t rt_timer_control(rt_timer_t timer, rt_uint8_t cmd, void *arg)
return RT_EOK;
}
+RTM_EXPORT(rt_timer_control);
/**
* This function will check timer list, if a timeout event happens, the