summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pspinlocktranslatereturncode.c
diff options
context:
space:
mode:
authorAlex Ivanov <alexivanov97@gmail.com>2012-12-15 09:54:10 -0500
committerGedare Bloom <gedare@rtems.org>2012-12-15 09:54:10 -0500
commite49a36cb0b37cc3ad1c3f191fb439b17f6365539 (patch)
tree1c39de36e4c7a90413f55288ed86d076cef1afbf /cpukit/posix/src/pspinlocktranslatereturncode.c
parentlibcsupport: Update file header for termios.h to remove link, add description. (diff)
downloadrtems-e49a36cb0b37cc3ad1c3f191fb439b17f6365539.tar.bz2
posix: Doxygen Enhancement Task #5
http://www.google-melange.com/gci/task/view/google/gci2012/7959229
Diffstat (limited to 'cpukit/posix/src/pspinlocktranslatereturncode.c')
-rw-r--r--cpukit/posix/src/pspinlocktranslatereturncode.c20
1 files changed, 7 insertions, 13 deletions
diff --git a/cpukit/posix/src/pspinlocktranslatereturncode.c b/cpukit/posix/src/pspinlocktranslatereturncode.c
index 92dca9101a..ce133a40b7 100644
--- a/cpukit/posix/src/pspinlocktranslatereturncode.c
+++ b/cpukit/posix/src/pspinlocktranslatereturncode.c
@@ -1,6 +1,11 @@
-/*
- * Spinlock Manager -- Translate SuperCore Status
+/**
+ * @file
*
+ * @brief POSIX Spinlock Translate Core Spinlock Return Code
+ * @ingroup POSIX_SPINLOCK
+ */
+
+/*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
@@ -20,17 +25,6 @@
#include <rtems/score/corespinlock.h>
#include <rtems/posix/spinlock.h>
-/*
- * _POSIX_Spinlock_Translate_core_spinlock_return_code
- *
- * Input parameters:
- * the_spinlock_status - spinlock status code to translate
- *
- * Output parameters:
- * status code - translated POSIX status code
- *
- */
-
static int _POSIX_Spinlock_Return_codes[CORE_SPINLOCK_STATUS_LAST + 1] = {
0, /* CORE_SPINLOCK_SUCCESSFUL */
EDEADLK, /* CORE_SPINLOCK_HOLDER_RELOCKING */