diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-02 10:04:24 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-02 10:04:24 +0000 |
commit | 92f4671850333cdda195c7c4ad51746c0fa0c3a5 (patch) | |
tree | 8b364ed60bbe3fb6ba2e6e0ae8c725a7832fa128 /cpukit/posix/src/sched_setscheduler.c | |
parent | 2009-01-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-92f4671850333cdda195c7c4ad51746c0fa0c3a5.tar.bz2 |
Add __attribute__((unused)) to unused function args.
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/sched_setscheduler.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/posix/src/sched_setscheduler.c b/cpukit/posix/src/sched_setscheduler.c index 4ca1516eac..f0bb5496fa 100644 --- a/cpukit/posix/src/sched_setscheduler.c +++ b/cpukit/posix/src/sched_setscheduler.c @@ -27,9 +27,9 @@ #include <rtems/posix/time.h> int sched_setscheduler( - pid_t pid, - int policy, - const struct sched_param *param + pid_t pid __attribute__((unused)), + int policy __attribute__((unused)), + const struct sched_param *param __attribute__((unused)) ) { rtems_set_errno_and_return_minus_one( ENOSYS ); |