summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-09-24 21:04:35 +0800
committerBernard Xiong <[email protected]>2015-09-24 21:04:35 +0800
commit5b77fa2d114c980a581f606cbf1cfe6bb06ba8b7 (patch)
tree1e97f61497adde8d119d72da83f39cd828f2c4ff /src
parent168bb7843f466abcda0d21cd198ce08d5f70b8e6 (diff)
parentd0dcdd11fe6ed42b853fb7b4ef0e91163c5f50ee (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src')
-rw-r--r--src/module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/module.c b/src/module.c
index 0de93867c6..b03611a4f4 100644
--- a/src/module.c
+++ b/src/module.c
@@ -178,6 +178,7 @@ rt_module_t rt_module_self(void)
/* return current module */
return (rt_module_t)tid->module_id;
}
+RTM_EXPORT(rt_module_self);
static int rt_module_arm_relocate(struct rt_module *module,
Elf32_Rel *rel,
@@ -1563,6 +1564,7 @@ rt_module_t rt_module_find(const char *name)
/* not found */
return RT_NULL;
}
+RTM_EXPORT(rt_module_find);
#ifdef RT_USING_SLAB
/*