summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coremutexsurrender.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-12-31 03:24:18 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-12-31 03:24:18 +0000
commitf0b14cf2fb0f7e0982cdf630032d6c44d1002688 (patch)
tree647b4767a2361d06b992171692bf57a09ee50df7 /cpukit/score/src/coremutexsurrender.c
parent2008-12-31 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-f0b14cf2fb0f7e0982cdf630032d6c44d1002688.tar.bz2
Add __attribute__((unused)) to unused function args.
Diffstat (limited to '')
-rw-r--r--cpukit/score/src/coremutexsurrender.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/score/src/coremutexsurrender.c b/cpukit/score/src/coremutexsurrender.c
index 9db3f82bf7..16268934af 100644
--- a/cpukit/score/src/coremutexsurrender.c
+++ b/cpukit/score/src/coremutexsurrender.c
@@ -48,8 +48,13 @@
CORE_mutex_Status _CORE_mutex_Surrender(
CORE_mutex_Control *the_mutex,
+#if defined(RTEMS_MULTIPROCESSING)
Objects_Id id,
CORE_mutex_API_mp_support_callout api_mutex_mp_support
+#else
+ Objects_Id id __attribute__((unused)),
+ CORE_mutex_API_mp_support_callout api_mutex_mp_support __attribute__((unused))
+#endif
)
{
Thread_Control *the_thread;