diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-03-11 09:51:14 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-03-11 09:51:14 -0500 |
commit | 1659aa0e62cf23f3007e01ad8ca7123d8e2b061e (patch) | |
tree | d52a694a6b913a62d47cc6c7421d2512d19e637c /src/thread/pthread_attr_getstacksize.c | |
parent | cabf2ff349183eca9ebc0a7b16d0223c193a013a (diff) | |
download | musl-1659aa0e62cf23f3007e01ad8ca7123d8e2b061e.tar.gz |
fix pthread_attr_* implementations to match corrected prototypes
Diffstat (limited to 'src/thread/pthread_attr_getstacksize.c')
-rw-r--r-- | src/thread/pthread_attr_getstacksize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_attr_getstacksize.c b/src/thread/pthread_attr_getstacksize.c index 900dc9f5..9575203d 100644 --- a/src/thread/pthread_attr_getstacksize.c +++ b/src/thread/pthread_attr_getstacksize.c @@ -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; |