diff options
Diffstat (limited to 'cpukit/posix/src/mutextranslatereturncode.c')
-rw-r--r-- | cpukit/posix/src/mutextranslatereturncode.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/cpukit/posix/src/mutextranslatereturncode.c b/cpukit/posix/src/mutextranslatereturncode.c deleted file mode 100644 index 1cc0b5c98c..0000000000 --- a/cpukit/posix/src/mutextranslatereturncode.c +++ /dev/null @@ -1,31 +0,0 @@ -/** - * @file - * - * @brief POSIX Mutex Translate Core Mutex Return Code - * @ingroup POSIX_MUTEX - */ - -/* - * COPYRIGHT (c) 1989-2008. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#include <rtems/posix/muteximpl.h> - -const int _POSIX_Mutex_Return_codes[CORE_MUTEX_STATUS_LAST + 1] = { - 0, /* CORE_MUTEX_STATUS_SUCCESSFUL */ - EBUSY, /* CORE_MUTEX_STATUS_UNSATISFIED_NOWAIT */ - EDEADLK, /* CORE_MUTEX_STATUS_NESTING_NOT_ALLOWED */ - EPERM, /* CORE_MUTEX_STATUS_NOT_OWNER_OF_RESOURCE */ - EINVAL, /* CORE_MUTEX_WAS_DELETED */ - ETIMEDOUT, /* CORE_MUTEX_TIMEOUT */ - EINVAL /* CORE_MUTEX_STATUS_CEILING_VIOLATED */ -}; |