projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix shmdt syscall calling convention on old archs
[musl]
/
src
/
thread
/
pthread_attr_getstacksize.c
diff --git
a/src/thread/pthread_attr_getstacksize.c
b/src/thread/pthread_attr_getstacksize.c
index
40bbf18
..
f69cc1e
100644
(file)
--- a/
src/thread/pthread_attr_getstacksize.c
+++ b/
src/thread/pthread_attr_getstacksize.c
@@
-1,7
+1,7
@@
#include "pthread_impl.h"
#include "pthread_impl.h"
-int pthread_attr_getstacksize(
pthread_attr_t *a, size_t *
size)
+int pthread_attr_getstacksize(
const pthread_attr_t *restrict a, size_t *restrict
size)
{
{
- *size = a->__stacksize + DEFAULT_STACK_SIZE;
+ *size = a->_
a
_stacksize + DEFAULT_STACK_SIZE;
return 0;
}
return 0;
}