update export symbols

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1197 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
qiuyiuestc 2010-12-13 00:52:32 +00:00
parent b7e62fb733
commit b769aa15d7
1 changed files with 23 additions and 5 deletions

View File

@ -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>