summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
authordzzxzz <[email protected]>2011-03-08 08:51:42 +0000
committerdzzxzz <[email protected]>2011-03-08 08:51:42 +0000
commitca52080ade01daf5afd496c767000a2555ff53cd (patch)
tree31c165e71556aa37d70c4b1ec570a887855b6234 /include/rtdef.h
parentb2e2825fb85b20f1f26cff463517775c1903ef1b (diff)
change "inline" to "static inline" for IAR compiler
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1319 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'include/rtdef.h')
-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 */