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
This commit is contained in:
parent
cba2e9bcba
commit
51c95d7907
|
@ -15,6 +15,12 @@
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
|
|
||||||
#ifdef RT_USING_MODULE
|
#ifdef RT_USING_MODULE
|
||||||
|
struct rt_module_symtab
|
||||||
|
{
|
||||||
|
void *addr;
|
||||||
|
const char *name;
|
||||||
|
};
|
||||||
|
|
||||||
#define RTM_EXPORT(symbol) \
|
#define RTM_EXPORT(symbol) \
|
||||||
const char __rtmsym_##symbol##_name[] = #symbol; \
|
const char __rtmsym_##symbol##_name[] = #symbol; \
|
||||||
const struct rt_module_symtab __rtmsym_##symbol SECTION("RTMSymTab")= \
|
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)
|
#define RTM_EXPORT(symbol)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct rt_module_symtab
|
|
||||||
{
|
|
||||||
void *addr;
|
|
||||||
const char *name;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue