[rtems commit] score: Help GCC to inline a function

Sebastian Huber sebh at rtems.org
Mon Dec 14 06:56:36 UTC 2015


Module:    rtems
Branch:    master
Commit:    00dbecb820d4643ee90badfd70f08d012f923962
Changeset: http://git.rtems.org/rtems/commit/?id=00dbecb820d4643ee90badfd70f08d012f923962

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Dec 11 09:48:09 2015 +0100

score: Help GCC to inline a function

---

 cpukit/score/src/rbtreeinsert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/src/rbtreeinsert.c b/cpukit/score/src/rbtreeinsert.c
index 629fca7..464fc60 100644
--- a/cpukit/score/src/rbtreeinsert.c
+++ b/cpukit/score/src/rbtreeinsert.c
@@ -55,7 +55,7 @@ RBTree_Node *_RBTree_Insert(
   return NULL;
 }
 
-RB_GENERATE_INSERT_COLOR( RBTree_Control, RBTree_Node, Node, static )
+RB_GENERATE_INSERT_COLOR( RBTree_Control, RBTree_Node, Node, static inline )
 
 void _RBTree_Insert_color(
   RBTree_Control *the_rbtree,



More information about the vc mailing list