diff options
| author | qiuyiuestc <[email protected]> | 2010-12-13 00:52:32 +0000 |
|---|---|---|
| committer | qiuyiuestc <[email protected]> | 2010-12-13 00:52:32 +0000 |
| commit | b769aa15d7aaae6fc90318a40bfc6ab0eb1e1f39 (patch) | |
| tree | 45818ac52780585bf3a62d6b77078ca646b29a6c /src | |
| parent | b7e62fb73391b9d4965e64492838b438dbdf725c (diff) | |
update export symbols
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1197 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src')
| -rw-r--r-- | src/rtm.c | 28 |
1 files changed, 23 insertions, 5 deletions
@@ -13,6 +13,10 @@ */
#include <rtthread.h>
+#include <assert.h>
+#include <stdlib.h>
+#include <string.h>
+#include <stdio.h>
/* some buildin kernel symbol */
@@ -142,26 +146,40 @@ RTM_EXPORT(rt_timer_control) /*
* kservice interface symbol
*/
+RTM_EXPORT(rt_memcpy)
+RTM_EXPORT(rt_memset)
+RTM_EXPORT(rt_kprintf)
+RTM_EXPORT(rt_sprintf)
+
+/*
+ * misc interface symbol
+ */
extern int __aeabi_ddiv;
extern int __aeabi_dmul;
extern int __aeabi_i2d;
extern int __aeabi_uidiv;
extern int __aeabi_uidivmod;
extern int __aeabi_d2iz;
-extern int rand;
-RTM_EXPORT(rt_kprintf)
-RTM_EXPORT(rt_memcpy)
-RTM_EXPORT(rt_memset)
-RTM_EXPORT(rt_sprintf)
RTM_EXPORT(__aeabi_ddiv)
RTM_EXPORT(__aeabi_dmul)
RTM_EXPORT(__aeabi_i2d)
RTM_EXPORT(__aeabi_uidiv)
RTM_EXPORT(__aeabi_uidivmod)
RTM_EXPORT(__aeabi_d2iz)
+RTM_EXPORT(strcmp)
RTM_EXPORT(rand)
+#ifdef RT_USING_NEWLIB
+
+#include <unistd.h>
+
+RTM_EXPORT(snprintf)
+RTM_EXPORT(access)
+RTM_EXPORT(__assert_func)
+
+#endif
+
#ifdef RT_USING_RTGUI
/* FIX ME , should be removed from here */
#include <rtgui/dc.h>
|
