From 92f4671850333cdda195c7c4ad51746c0fa0c3a5 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 2 Jan 2009 10:04:24 +0000 Subject: Add __attribute__((unused)) to unused function args. --- cpukit/posix/src/sched_setparam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/posix/src/sched_setparam.c') diff --git a/cpukit/posix/src/sched_setparam.c b/cpukit/posix/src/sched_setparam.c index bc79b85878..155ed2d11b 100644 --- a/cpukit/posix/src/sched_setparam.c +++ b/cpukit/posix/src/sched_setparam.c @@ -26,8 +26,8 @@ #include int sched_setparam( - pid_t pid, - const struct sched_param *param + pid_t pid __attribute__((unused)), + const struct sched_param *param __attribute__((unused)) ) { rtems_set_errno_and_return_minus_one( ENOSYS ); -- cgit v1.2.3