summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/sched_setscheduler.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-10-16 08:21:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-10-26 09:13:19 +0100
commitf97536dcd310a1a15426dcd411d55367019879fc (patch)
treed37a1e12bac98a4df4a2dd70d5de3ee99f23d821 /cpukit/posix/src/sched_setscheduler.c
parentbasdefs.h: Add and use RTEMS_DEPRECATED (diff)
downloadrtems-f97536dcd310a1a15426dcd411d55367019879fc.tar.bz2
basdefs.h: Add and use RTEMS_UNUSED
Diffstat (limited to 'cpukit/posix/src/sched_setscheduler.c')
-rw-r--r--cpukit/posix/src/sched_setscheduler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/posix/src/sched_setscheduler.c b/cpukit/posix/src/sched_setscheduler.c
index 1fe7631bc5..9e3b01bc26 100644
--- a/cpukit/posix/src/sched_setscheduler.c
+++ b/cpukit/posix/src/sched_setscheduler.c
@@ -27,9 +27,9 @@
#include <rtems/posix/priorityimpl.h>
int sched_setscheduler(
- pid_t pid __attribute__((unused)),
- int policy __attribute__((unused)),
- const struct sched_param *param __attribute__((unused))
+ pid_t pid RTEMS_UNUSED,
+ int policy RTEMS_UNUSED,
+ const struct sched_param *param RTEMS_UNUSED
)
{
rtems_set_errno_and_return_minus_one( ENOSYS );