[rtems commit] score: Constify _MRSP_Get_owner()
Sebastian Huber
sebh at rtems.org
Fri Nov 18 07:04:29 UTC 2016
Module: rtems
Branch: master
Commit: 1b87f27cac9d4fff3221099a60100735b4bd986e
Changeset: http://git.rtems.org/rtems/commit/?id=1b87f27cac9d4fff3221099a60100735b4bd986e
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Nov 17 07:20:07 2016 +0100
score: Constify _MRSP_Get_owner()
---
cpukit/score/include/rtems/score/mrspimpl.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/cpukit/score/include/rtems/score/mrspimpl.h b/cpukit/score/include/rtems/score/mrspimpl.h
index 6b00af4..1339b50 100644
--- a/cpukit/score/include/rtems/score/mrspimpl.h
+++ b/cpukit/score/include/rtems/score/mrspimpl.h
@@ -53,7 +53,9 @@ RTEMS_INLINE_ROUTINE void _MRSP_Release(
_Thread_queue_Release( &mrsp->Wait_queue, queue_context );
}
-RTEMS_INLINE_ROUTINE Thread_Control *_MRSP_Get_owner( MRSP_Control *mrsp )
+RTEMS_INLINE_ROUTINE Thread_Control *_MRSP_Get_owner(
+ const MRSP_Control *mrsp
+)
{
return mrsp->Wait_queue.Queue.owner;
}
More information about the vc
mailing list