diff options
author | Joel Sherrill <joel@rtems.org> | 2016-03-09 15:14:43 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-04-14 16:28:10 -0500 |
commit | 04da96c7634b7ee9fcd25e8af514efc2d739af9f (patch) | |
tree | 4dadce73defd309f4e6c4ffca6c8a8886cb7078e | |
parent | Add pthread_getconcurrency() and pthread_setconcurrency() (diff) | |
download | rtems-04da96c7634b7ee9fcd25e8af514efc2d739af9f.tar.bz2 |
posix/src/condattr*etpshared.c: Clean up and improve comments
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/condattrgetpshared.c | 13 | ||||
-rw-r--r-- | cpukit/posix/src/condattrsetpshared.c | 14 |
2 files changed, 5 insertions, 22 deletions
diff --git a/cpukit/posix/src/condattrgetpshared.c b/cpukit/posix/src/condattrgetpshared.c index e1427dfaca..92918cbcc1 100644 --- a/cpukit/posix/src/condattrgetpshared.c +++ b/cpukit/posix/src/condattrgetpshared.c @@ -1,8 +1,8 @@ /** - * @file + * @file * - * @brief Get the Process-Shared Condition Variable Attributes - * @ingroup POSIXAPI + * @brief Get the Process-Shared Condition Variable Attributes + * @ingroup POSIXAPI */ /* @@ -22,14 +22,7 @@ #include <errno.h> #include <rtems/system.h> -#include <rtems/score/watchdog.h> -#include <rtems/posix/condimpl.h> -#include <rtems/posix/muteximpl.h> -/** - * 11.4.1 Condition Variable Initialization Attributes, - * P1003.1c/Draft 10, p. 96 - */ int pthread_condattr_getpshared( const pthread_condattr_t *attr, int *pshared diff --git a/cpukit/posix/src/condattrsetpshared.c b/cpukit/posix/src/condattrsetpshared.c index b6700001ec..3128ad7bd7 100644 --- a/cpukit/posix/src/condattrsetpshared.c +++ b/cpukit/posix/src/condattrsetpshared.c @@ -1,12 +1,12 @@ /** * @file * - * @brief Initialize Condition Variable Attributes + * @brief Set the Process-Shared Condition Variable Attributes * @ingroup POSIXAPI */ /* - * COPYRIGHT (c) 1989-2007. + * COPYRIGHT (c) 1989-2007, 2016. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -21,16 +21,6 @@ #include <pthread.h> #include <errno.h> -#include <rtems/system.h> -#include <rtems/score/watchdog.h> -#include <rtems/posix/condimpl.h> -#include <rtems/posix/muteximpl.h> - -/* - * 11.4.1 Condition Variable Initialization Attributes, - * P1003.1c/Draft 10, p. 96 - */ - int pthread_condattr_setpshared( pthread_condattr_t *attr, int pshared |