reorganize pthread data structures and move the definitions to alltypes.h
[musl] / src / thread / pthread_attr_getdetachstate.c
index 9cd4953..de65c25 100644 (file)
@@ -2,6 +2,6 @@
 
 int pthread_attr_getdetachstate(pthread_attr_t *a, int *state)
 {
-       *state = a->__detach;
+       *state = a->_a_detach;
        return 0;
 }