summaryrefslogtreecommitdiff
path: root/src/clock.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/clock.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/clock.c')
-rw-r--r--src/clock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/clock.c b/src/clock.c
index 8d547e30fb..7e68d20899 100644
--- a/src/clock.c
+++ b/src/clock.c
@@ -52,6 +52,7 @@ rt_tick_t rt_tick_get(void)
/* return the global tick */
return rt_tick;
}
+RTM_EXPORT(rt_tick_get);
/**
* This function will set current tick
@@ -105,6 +106,7 @@ rt_tick_t rt_tick_from_millisecond(rt_uint32_t ms)
/* return the calculated tick */
return (RT_TICK_PER_SECOND * ms + 999) / 1000;
}
+RTM_EXPORT(rt_tick_from_millisecond);
/*@}*/