提交 51c95d79 编写于 作者: D dzzxzz@gmail.com

convert tabs to 4 spaces in rtm.h

and move the definition of struct rt_module_symtab into RT_USING_MODULE block

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2268 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 cba2e9bc
......@@ -15,6 +15,12 @@
#include <rtthread.h>
#ifdef RT_USING_MODULE
struct rt_module_symtab
{
void *addr;
const char *name;
};
#define RTM_EXPORT(symbol) \
const char __rtmsym_##symbol##_name[] = #symbol; \
const struct rt_module_symtab __rtmsym_##symbol SECTION("RTMSymTab")= \
......@@ -26,10 +32,4 @@ const struct rt_module_symtab __rtmsym_##symbol SECTION("RTMSymTab")= \
#define RTM_EXPORT(symbol)
#endif
struct rt_module_symtab
{
void *addr;
const char *name;
};
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册