summaryrefslogtreecommitdiff
path: root/pthread_attr_getschedparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_attr_getschedparam.c')
-rw-r--r--pthread_attr_getschedparam.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/pthread_attr_getschedparam.c b/pthread_attr_getschedparam.c
index 015ec0c..48b4779 100644
--- a/pthread_attr_getschedparam.c
+++ b/pthread_attr_getschedparam.c
@@ -38,15 +38,15 @@
#include "implement.h"
#include "sched.h"
-int
-pthread_attr_getschedparam(const pthread_attr_t *attr,
- struct sched_param *param)
+int
+pthread_attr_getschedparam (const pthread_attr_t * attr,
+ struct sched_param *param)
{
- if (ptw32_is_attr(attr) != 0 || param == NULL)
+ if (ptw32_is_attr (attr) != 0 || param == NULL)
{
return EINVAL;
}
-
- memcpy(param, &(*attr)->param, sizeof(*param));
+
+ memcpy (param, &(*attr)->param, sizeof (*param));
return 0;
}