summaryrefslogtreecommitdiff
path: root/pthread_attr_getschedpolicy.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_attr_getschedpolicy.c')
-rw-r--r--pthread_attr_getschedpolicy.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/pthread_attr_getschedpolicy.c b/pthread_attr_getschedpolicy.c
index 76c9be3..cd84ffd 100644
--- a/pthread_attr_getschedpolicy.c
+++ b/pthread_attr_getschedpolicy.c
@@ -39,10 +39,9 @@
#include "sched.h"
int
-pthread_attr_getschedpolicy(pthread_attr_t *attr,
- int * policy)
+pthread_attr_getschedpolicy (pthread_attr_t * attr, int *policy)
{
- if (ptw32_is_attr(attr) != 0 || policy == NULL)
+ if (ptw32_is_attr (attr) != 0 || policy == NULL)
{
return EINVAL;
}