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