diff options
| author | [email protected] <[email protected]> | 2012-11-23 02:40:32 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-11-23 02:40:32 +0000 |
| commit | 44eaae8c80cfd320bb81fce14aec60f207fb240f (patch) | |
| tree | 825b852c6eccebd9fd655271ee3b94d5cb8ccd6a /components/pthreads/clock_time.c | |
| parent | ffbd0a167379c3fe4c31a4d0f65d7c3adfd4f16a (diff) | |
export more symbols of PThread.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2433 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/pthreads/clock_time.c')
| -rw-r--r-- | components/pthreads/clock_time.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/pthreads/clock_time.c b/components/pthreads/clock_time.c index 8852f4990e..0e587636aa 100644 --- a/components/pthreads/clock_time.c +++ b/components/pthreads/clock_time.c @@ -54,6 +54,7 @@ int clock_time_to_tick(const struct timespec *time) return tick;
}
+RTM_EXPORT(clock_time_to_tick);
int clock_getres (clockid_t clockid, struct timespec *res)
{
@@ -68,6 +69,7 @@ int clock_getres (clockid_t clockid, struct timespec *res) return 0;
}
+RTM_EXPORT(clock_getres);
int clock_gettime (clockid_t clockid, struct timespec *tp)
{
@@ -87,6 +89,7 @@ int clock_gettime (clockid_t clockid, struct timespec *tp) return 0;
}
+RTM_EXPORT(clock_gettime);
int clock_settime (clockid_t clockid, const struct timespec *tp)
{
@@ -120,3 +123,4 @@ int clock_settime (clockid_t clockid, const struct timespec *tp) return 0;
}
+RTM_EXPORT(clock_settime);
|
