diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-03-11 09:51:14 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-03-11 09:51:14 -0500 |
commit | 1659aa0e62cf23f3007e01ad8ca7123d8e2b061e (patch) | |
tree | d52a694a6b913a62d47cc6c7421d2512d19e637c /src/thread/pthread_attr_getdetachstate.c | |
parent | cabf2ff349183eca9ebc0a7b16d0223c193a013a (diff) | |
download | musl-1659aa0e62cf23f3007e01ad8ca7123d8e2b061e.tar.gz musl-1659aa0e62cf23f3007e01ad8ca7123d8e2b061e.tar.bz2 musl-1659aa0e62cf23f3007e01ad8ca7123d8e2b061e.tar.xz musl-1659aa0e62cf23f3007e01ad8ca7123d8e2b061e.zip |
fix pthread_attr_* implementations to match corrected prototypes
Diffstat (limited to 'src/thread/pthread_attr_getdetachstate.c')
-rw-r--r-- | src/thread/pthread_attr_getdetachstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_attr_getdetachstate.c b/src/thread/pthread_attr_getdetachstate.c index de65c25f..47c4c023 100644 --- a/src/thread/pthread_attr_getdetachstate.c +++ b/src/thread/pthread_attr_getdetachstate.c @@ -1,6 +1,6 @@ #include "pthread_impl.h" -int pthread_attr_getdetachstate(pthread_attr_t *a, int *state) +int pthread_attr_getdetachstate(const pthread_attr_t *a, int *state) { *state = a->_a_detach; return 0; |