diff options
| author | rpj <rpj> | 2004-05-17 01:38:02 +0000 | 
|---|---|---|
| committer | rpj <rpj> | 2004-05-17 01:38:02 +0000 | 
| commit | 771465fed0cf50ee2dd790723245fc091699c324 (patch) | |
| tree | d8c18d095a33fe7c4564bd90c5f313bb9e4057dd /pthread_barrierattr_getpshared.c | |
| parent | 8b14911744f58cbe3730703f3fcc41cd969fd0f3 (diff) | |
re-indentation, bug fixes, hooks for pre-emptive async cancelation
Diffstat (limited to 'pthread_barrierattr_getpshared.c')
| -rw-r--r-- | pthread_barrierattr_getpshared.c | 8 | 
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 */  | 
