[PATCH 07/15] posix: Add const to _POSIX_Keys_Key_value_find()

Sebastian Huber sebastian.huber at embedded-brains.de
Fri May 20 13:33:44 UTC 2016


---
 cpukit/posix/include/rtems/posix/keyimpl.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpukit/posix/include/rtems/posix/keyimpl.h b/cpukit/posix/include/rtems/posix/keyimpl.h
index 833e652..1148123 100644
--- a/cpukit/posix/include/rtems/posix/keyimpl.h
+++ b/cpukit/posix/include/rtems/posix/keyimpl.h
@@ -140,8 +140,8 @@ RTEMS_INLINE_ROUTINE void *_POSIX_Keys_Key_value_map( RBTree_Node *node )
 }
 
 RTEMS_INLINE_ROUTINE POSIX_Keys_Key_value_pair *_POSIX_Keys_Key_value_find(
-  pthread_key_t   key,
-  Thread_Control *the_thread
+  pthread_key_t         key,
+  const Thread_Control *the_thread
 )
 {
   return _RBTree_Find_inline(
-- 
1.8.4.5




More information about the devel mailing list