diff options
Diffstat (limited to 'cpukit/posix/src/prwlocktranslatereturncode.c')
-rw-r--r-- | cpukit/posix/src/prwlocktranslatereturncode.c | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/cpukit/posix/src/prwlocktranslatereturncode.c b/cpukit/posix/src/prwlocktranslatereturncode.c index 3c75e10aa4..48be176d36 100644 --- a/cpukit/posix/src/prwlocktranslatereturncode.c +++ b/cpukit/posix/src/prwlocktranslatereturncode.c @@ -1,6 +1,11 @@ -/* - * RWLock Manager -- Translate SuperCore Status +/** + * @file * + * @brief POSIX RWLock Translate Core RWLock Return Code + * @ingroup POSIX_RWLOCK + */ + +/* * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * @@ -19,17 +24,6 @@ #include <rtems/system.h> #include <rtems/posix/rwlock.h> -/* - * _POSIX_RWLock_Translate_core_rwlock_return_code - * - * Input parameters: - * the_rwlock_status - rwlock status code to translate - * - * Output parameters: - * status code - translated POSIX status code - * - */ - static int _POSIX_RWLock_Return_codes[CORE_RWLOCK_STATUS_LAST + 1] = { 0, /* CORE_RWLOCK_SUCCESSFUL */ EINVAL, /* CORE_RWLOCK_DELETED */ |