summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUrey <[email protected]>2017-09-06 11:16:51 +0800
committerGitHub <[email protected]>2017-09-06 11:16:51 +0800
commitad1d3375f222c5746514ab16003dc18c0df83dad (patch)
tree4572af3fcf6b592a714e2ec76b25dae27a1ecea6 /include
parent94746d8e5f69b26535f75b730e7540caf42863fa (diff)
parentbc225a5ef05a9b14dd72286402093cbb7dba8305 (diff)
Merge pull request #1 from RT-Thread/master
同步 rt-thread master
Diffstat (limited to 'include')
-rw-r--r--include/rtdef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 77c302dffa..9c6cd8207f 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -110,7 +110,7 @@ typedef rt_base_t rt_off_t; /**< Type for offset */
#include <stdarg.h>
#define SECTION(x) @ x
#define RT_UNUSED
- #define RT_USED
+ #define RT_USED __root
#define PRAGMA(x) _Pragma(#x)
#define ALIGN(n) PRAGMA(data_alignment=n)
#define WEAK __weak