summaryrefslogtreecommitdiff
path: root/pthread_barrierattr_getpshared.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_barrierattr_getpshared.c')
-rw-r--r--pthread_barrierattr_getpshared.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/pthread_barrierattr_getpshared.c b/pthread_barrierattr_getpshared.c
index f14485e..e36abbb 100644
--- a/pthread_barrierattr_getpshared.c
+++ b/pthread_barrierattr_getpshared.c
@@ -40,7 +40,7 @@
int
pthread_barrierattr_getpshared (const pthread_barrierattr_t * attr,
- int *pshared)
+ int *pshared)
/*
* ------------------------------------------------------
* DOCPUBLIC
@@ -81,8 +81,7 @@ pthread_barrierattr_getpshared (const pthread_barrierattr_t * attr,
{
int result;
- if ((attr != NULL && *attr != NULL) &&
- (pshared != NULL))
+ if ((attr != NULL && *attr != NULL) && (pshared != NULL))
{
*pshared = (*attr)->pshared;
result = 0;
@@ -93,5 +92,4 @@ pthread_barrierattr_getpshared (const pthread_barrierattr_t * attr,
}
return (result);
-} /* pthread_barrierattr_getpshared */
-
+} /* pthread_barrierattr_getpshared */