diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-18 14:26:58 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-22 16:56:58 +0200 |
commit | 570045ed7f8e83d4980ea1550b7469eb8599ff7b (patch) | |
tree | c2b96c41f42f865ae0f5b78bb7ba950a244b0a5c /cpukit/score/include | |
parent | score: Create semaphore implementation header (diff) | |
download | rtems-570045ed7f8e83d4980ea1550b7469eb8599ff7b.tar.bz2 |
score: Add const qualifier
Diffstat (limited to 'cpukit/score/include')
-rw-r--r-- | cpukit/score/include/rtems/score/coresemimpl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/include/rtems/score/coresemimpl.h b/cpukit/score/include/rtems/score/coresemimpl.h index 241ca41461..62c1c2abf8 100644 --- a/cpukit/score/include/rtems/score/coresemimpl.h +++ b/cpukit/score/include/rtems/score/coresemimpl.h @@ -95,9 +95,9 @@ typedef void ( *CORE_semaphore_API_mp_support_callout )( * @param[in] initial_value is the initial count of the semaphore */ void _CORE_semaphore_Initialize( - CORE_semaphore_Control *the_semaphore, - CORE_semaphore_Attributes *the_semaphore_attributes, - uint32_t initial_value + CORE_semaphore_Control *the_semaphore, + const CORE_semaphore_Attributes *the_semaphore_attributes, + uint32_t initial_value ); #if defined(RTEMS_SCORE_CORESEM_ENABLE_SEIZE_BODY) @@ -174,7 +174,7 @@ void _CORE_semaphore_Flush( * @return true if the priority attribute is enabled */ RTEMS_INLINE_ROUTINE bool _CORE_semaphore_Is_priority( - CORE_semaphore_Attributes *the_attribute + const CORE_semaphore_Attributes *the_attribute ) { return ( the_attribute->discipline == CORE_SEMAPHORE_DISCIPLINES_PRIORITY ); |