diff options
author | Chris Johns <chrisj@rtems.org> | 2013-08-08 10:21:54 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2013-08-08 10:21:54 +1000 |
commit | f65e8e66d06252f50b74be24fa500af127036a40 (patch) | |
tree | 8cbc20b48f38cc9e7cade9c4c9caef29b09661a3 | |
parent | Check times with a no change truncate via open. (diff) | |
download | rtems-f65e8e66d06252f50b74be24fa500af127036a40.tar.bz2 |
posix: Add missing header.
-rw-r--r-- | 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 33059ffeb1..b6b34b21dd 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 |