From f97536dcd310a1a15426dcd411d55367019879fc Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 16 Oct 2015 08:21:48 +0200 Subject: basdefs.h: Add and use RTEMS_UNUSED --- cpukit/posix/src/sched_setscheduler.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/posix/src/sched_setscheduler.c') 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 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 ); -- cgit v1.2.3