reorganize pthread data structures and move the definitions to alltypes.h
[musl] / src / thread / pthread_attr_setstacksize.c
index 58f4bb1..df16b98 100644 (file)
@@ -3,6 +3,6 @@
 int pthread_attr_setstacksize(pthread_attr_t *a, size_t size)
 {
        if (size-PAGE_SIZE > SIZE_MAX/4) return EINVAL;
-       a->__stacksize = size - DEFAULT_STACK_SIZE;
+       a->_a_stacksize = size - DEFAULT_STACK_SIZE;
        return 0;
 }