summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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 a19321f25b..df2a7894b7 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -90,7 +90,7 @@ typedef rt_uint32_t rt_off_t; /**< Type for offset */
#define UNUSED
#define PRAGMA(x) _Pragma(#x)
#define ALIGN(n) PRAGMA(data_alignment=n)
- #define rt_inline inline
+ #define rt_inline static inline
#define RTT_API
#elif defined (__GNUC__) /* GNU GCC Compiler */