summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorqiuyiuestc <[email protected]>2010-05-29 16:22:11 +0000
committerqiuyiuestc <[email protected]>2010-05-29 16:22:11 +0000
commit470feff16fc5eb442e9eaf1404ecb31c1d57ad7d (patch)
tree48f5a9ce0584594d63664cdf907d9e3cb3028bdb /bsp
parent25e7ea1745a02f3673f025ca209d10e248b45e6b (diff)
fix armcc compile error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@749 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp')
-rw-r--r--bsp/mini2440/run_module.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsp/mini2440/run_module.c b/bsp/mini2440/run_module.c
index a8d50776f5..274fd31ef0 100644
--- a/bsp/mini2440/run_module.c
+++ b/bsp/mini2440/run_module.c
@@ -19,6 +19,9 @@
#if defined(RT_USING_FINSH) && defined(RT_USING_MODULE)
#include <finsh.h>
+extern struct rt_module* rt_module_load(void* module_ptr, const rt_uint8_t* name);
+extern void rt_module_run(struct rt_module* module);
+
void run_module(const char* filename)
{
int fd, length;