| Index: fusl/src/thread/pthread_attr_setscope.c
|
| diff --git a/fusl/src/thread/pthread_attr_setscope.c b/fusl/src/thread/pthread_attr_setscope.c
|
| index 46b520c0412c99a22d5e608ff4074a35301f4122..3ea46d88734b5948f4c9a588cb44d42638f59caf 100644
|
| --- a/fusl/src/thread/pthread_attr_setscope.c
|
| +++ b/fusl/src/thread/pthread_attr_setscope.c
|
| @@ -1,13 +1,12 @@
|
| #include "pthread_impl.h"
|
|
|
| -int pthread_attr_setscope(pthread_attr_t *a, int scope)
|
| -{
|
| - switch (scope) {
|
| - case PTHREAD_SCOPE_SYSTEM:
|
| - return 0;
|
| - case PTHREAD_SCOPE_PROCESS:
|
| - return ENOTSUP;
|
| - default:
|
| - return EINVAL;
|
| - }
|
| +int pthread_attr_setscope(pthread_attr_t* a, int scope) {
|
| + switch (scope) {
|
| + case PTHREAD_SCOPE_SYSTEM:
|
| + return 0;
|
| + case PTHREAD_SCOPE_PROCESS:
|
| + return ENOTSUP;
|
| + default:
|
| + return EINVAL;
|
| + }
|
| }
|
|
|