[rtems commit] posix: Add missing header.

Chris Johns chrisj at rtems.org
Thu Aug 8 00:17:13 UTC 2013


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

Author:    Chris Johns <chrisj at rtems.org>
Date:      Thu Aug  8 10:21:54 2013 +1000

posix: Add missing header.

---

 cpukit/posix/include/rtems/posix/keyimpl.h |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/cpukit/posix/include/rtems/posix/keyimpl.h b/cpukit/posix/include/rtems/posix/keyimpl.h
index 33059ff..b6b34b2 100644
--- a/cpukit/posix/include/rtems/posix/keyimpl.h
+++ b/cpukit/posix/include/rtems/posix/keyimpl.h
@@ -1,9 +1,9 @@
 /**
  * @file
- * 
+ *
  * @brief Private Inlined Routines for POSIX Key's
  *
- * This include file contains the static inline implementation of the private 
+ * This include file contains the static inline implementation of the private
  * inlined routines for POSIX key's.
  */
 
@@ -15,10 +15,11 @@
  *  found in the file LICENSE in this distribution or at
  *  http://www.rtems.com/license/LICENSE.
  */
- 
+
 #include <rtems/posix/key.h>
 #include <rtems/score/freechain.h>
 #include <rtems/score/objectimpl.h>
+#include <rtems/score/percpu.h>
 
 #ifndef _RTEMS_POSIX_KEYIMPL_H
 #define _RTEMS_POSIX_KEYIMPL_H
@@ -120,19 +121,19 @@ void _POSIX_Keys_Free_memory(
 RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (
   POSIX_Keys_Control *the_key
 );
- 
+
 /**
  * @brief Allocate a keys control block.
  *
  * This function allocates a keys control block from
  * the inactive chain of free keys control blocks.
  */
- 
+
 RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Allocate( void )
 {
   return (POSIX_Keys_Control *) _Objects_Allocate( &_POSIX_Keys_Information );
 }
- 
+
 /**
  * @brief Free a keys control block.
  *
@@ -145,7 +146,7 @@ RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (
 {
   _Objects_Free( &_POSIX_Keys_Information, &the_key->Object );
 }
- 
+
 /**
  * @brief Get a keys control block.
  *
@@ -157,7 +158,7 @@ RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (
  * and the_key is undefined.  Otherwise, location is set
  * to OBJECTS_ERROR and the_key is undefined.
  */
- 
+
 RTEMS_INLINE_ROUTINE POSIX_Keys_Control *_POSIX_Keys_Get (
   pthread_key_t      id,
   Objects_Locations *location




More information about the vc mailing list