summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-02-06 21:02:31 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-02-06 21:02:31 +0000
commit2a6b824b46c3b77004c4d4b9e3ccbe0abe170bf8 (patch)
tree8df64fa4044e2bbf0567c79f9f67d5a8841cb06a /cpukit
parent2009-02-06 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-2a6b824b46c3b77004c4d4b9e3ccbe0abe170bf8.tar.bz2
Make sched_getparam() POSIX compliant.
Diffstat (limited to 'cpukit')
-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 );