summaryrefslogtreecommitdiff
path: root/cpukit/include/rtems/score/threadmp.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-08 10:37:05 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-09-08 10:51:07 +0200
commit1776a8e83028d7a2daad89e1c229e84415901edc (patch)
tree7dd9d14741006f36f6bff0fb9e9d7ca6c5a838d8 /cpukit/include/rtems/score/threadmp.h
parent59907573846e63d4fd1b85227b309dc0d3cde083 (diff)
Do not use RTEMS_INLINE_ROUTINEremove-rtems-inline-routine
Directly use "static inline" which is available in C99 and later. This brings the RTEMS implementation closer to standard C. Close #3935.
Diffstat (limited to 'cpukit/include/rtems/score/threadmp.h')
-rw-r--r--cpukit/include/rtems/score/threadmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/rtems/score/threadmp.h b/cpukit/include/rtems/score/threadmp.h
index 59c2ea675c..30c7c84bd4 100644
--- a/cpukit/include/rtems/score/threadmp.h
+++ b/cpukit/include/rtems/score/threadmp.h
@@ -145,7 +145,7 @@ void _Thread_MP_Free_proxy( Thread_Control *the_thread );
* @retval false The object if is not valid or the thread MP with this object
* id is not remote.
*/
-RTEMS_INLINE_ROUTINE bool _Thread_MP_Is_remote( Objects_Id id )
+static inline bool _Thread_MP_Is_remote( Objects_Id id )
{
Objects_Information *information;