diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-03-31 23:27:57 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-03-31 23:27:57 -0400 |
commit | 0b2764d054c169c9abc8be8979ac3ea7a191c49e (patch) | |
tree | 3c432bf9172c9ad15922e58cfada03f888c715ac /include/pthread.h | |
parent | 14a835b3868e4dccece15acbff6d5da6c0e1ff17 (diff) | |
download | musl-0b2764d054c169c9abc8be8979ac3ea7a191c49e.tar.gz musl-0b2764d054c169c9abc8be8979ac3ea7a191c49e.tar.bz2 musl-0b2764d054c169c9abc8be8979ac3ea7a191c49e.tar.xz musl-0b2764d054c169c9abc8be8979ac3ea7a191c49e.zip |
provide prototype for pthread_getattr_np
Diffstat (limited to 'include/pthread.h')
-rw-r--r-- | include/pthread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pthread.h b/include/pthread.h index 6eee14cb..731bce38 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -209,6 +209,10 @@ void _pthread_cleanup_pop(struct __ptcb *, int); #define pthread_cleanup_push(f, x) do { struct __ptcb __cb; _pthread_cleanup_push(&__cb, f, x); #define pthread_cleanup_pop(r) _pthread_cleanup_pop(&__cb, (r)); } while(0) +#ifdef _GNU_SOURCE +int pthread_getattr_np(pthread_t, pthread_attr_t *); +#endif + #ifdef __cplusplus } #endif |