use bss instead of mmap for main thread's pthread thread-specific data
[oweals/musl.git] / src / thread / pthread_attr_getstacksize.c
index 900dc9f53839bd112adcc78a1e9b6b210a8cf4fe..9575203d6d5f3992d96e1ab36c1da7537ec72b2e 100644 (file)
@@ -1,6 +1,6 @@
 #include "pthread_impl.h"
 
-int pthread_attr_getstacksize(pthread_attr_t *a, size_t *size)
+int pthread_attr_getstacksize(const pthread_attr_t *a, size_t *size)
 {
        *size = a->_a_stacksize + DEFAULT_STACK_SIZE;
        return 0;