diff options
author | Christopher Faylor <me@cgf.cx> | 2005-05-02 03:50:11 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-05-02 03:50:11 +0000 |
commit | 05726ddd86c1421add510d5e8395cf7e3ac378f3 (patch) | |
tree | e7a339d3b7773fee264eb134e3acfb1ca87877f2 /winsup/cygwin/include/pthread.h | |
parent | b9b1b38358983f564e48ced1a9a599698e1be36f (diff) | |
download | cygnal-05726ddd86c1421add510d5e8395cf7e3ac378f3.tar.gz cygnal-05726ddd86c1421add510d5e8395cf7e3ac378f3.tar.bz2 cygnal-05726ddd86c1421add510d5e8395cf7e3ac378f3.zip |
white space and minor comment cleanup.
Diffstat (limited to 'winsup/cygwin/include/pthread.h')
-rw-r--r-- | winsup/cygwin/include/pthread.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/include/pthread.h b/winsup/cygwin/include/pthread.h index 57f58cf82..9d0756941 100644 --- a/winsup/cygwin/include/pthread.h +++ b/winsup/cygwin/include/pthread.h @@ -117,8 +117,8 @@ void _pthread_cleanup_push (__pthread_cleanup_handler *handler); void _pthread_cleanup_pop (int execute); #define pthread_cleanup_push(_fn, _arg) { __pthread_cleanup_handler __cleanup_handler = \ - { _fn, _arg, NULL }; \ - _pthread_cleanup_push( &__cleanup_handler ); + { _fn, _arg, NULL }; \ + _pthread_cleanup_push( &__cleanup_handler ); #define pthread_cleanup_pop(_execute) _pthread_cleanup_pop( _execute ); } /* Condition variables */ @@ -174,7 +174,7 @@ int pthread_rwlock_trywrlock (pthread_rwlock_t *rwlock); int pthread_rwlock_unlock (pthread_rwlock_t *rwlock); int pthread_rwlockattr_init (pthread_rwlockattr_t *rwlockattr); int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t *attr, - int *pshared); + int *pshared); int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *attr, int pshared); int pthread_rwlockattr_destroy (pthread_rwlockattr_t *rwlockattr); |