summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/include/sched.h2
-rw-r--r--cpukit/posix/src/sched_getparam.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/include/sched.h b/cpukit/posix/include/sched.h
index 0ec99b9d46..5db4864c31 100644
--- a/cpukit/posix/include/sched.h
+++ b/cpukit/posix/include/sched.h
@@ -46,7 +46,7 @@ int sched_setparam(
int sched_getparam(
pid_t pid,
- const struct sched_param *param
+ struct sched_param *param
);
/*
diff --git a/cpukit/posix/src/sched_getparam.c b/cpukit/posix/src/sched_getparam.c
index 7c4616ca79..c25286bdc3 100644
--- a/cpukit/posix/src/sched_getparam.c
+++ b/cpukit/posix/src/sched_getparam.c
@@ -23,7 +23,7 @@
int sched_getparam(
pid_t pid __attribute__((unused)),
- const struct sched_param *param __attribute__((unused))
+ struct sched_param *param __attribute__((unused))
)
{
rtems_set_errno_and_return_minus_one( ENOSYS );