X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fthread%2Fpthread_attr_getscope.c;h=b8dfd123a0097b88f00d1cf057025683538651c8;hb=7df42e8744d384c975b28192f66ab4c5e4c1fd90;hp=0cb224d3b69953e23cfdb48cebca4d422056f7bc;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/thread/pthread_attr_getscope.c b/src/thread/pthread_attr_getscope.c index 0cb224d3..b8dfd123 100644 --- a/src/thread/pthread_attr_getscope.c +++ b/src/thread/pthread_attr_getscope.c @@ -1,6 +1,7 @@ #include "pthread_impl.h" -int pthread_attr_getscope(pthread_attr_t *a, int *scope) +int pthread_attr_getscope(const pthread_attr_t *restrict a, int *restrict scope) { + *scope = PTHREAD_SCOPE_SYSTEM; return 0; }