summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/stackchk
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-01-02 13:04:13 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-01-02 13:04:13 +0000
commit031deada15098e68ae1912f1c6963c433153b9e3 (patch)
tree80ac645d4f4410b2002241cd6d2c85a8283702b2 /cpukit/libmisc/stackchk
parent2009-01-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-031deada15098e68ae1912f1c6963c433153b9e3.tar.bz2
Add __attribute__((unused)) to unused function args.
Diffstat (limited to 'cpukit/libmisc/stackchk')
-rw-r--r--cpukit/libmisc/stackchk/check.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libmisc/stackchk/check.c b/cpukit/libmisc/stackchk/check.c
index c31bd5b71b..ef13578595 100644
--- a/cpukit/libmisc/stackchk/check.c
+++ b/cpukit/libmisc/stackchk/check.c
@@ -167,7 +167,7 @@ void Stack_check_Initialize( void )
* rtems_stack_checker_create_extension
*/
bool rtems_stack_checker_create_extension(
- Thread_Control *running,
+ Thread_Control *running __attribute__((unused)),
Thread_Control *the_thread
)
{
@@ -250,8 +250,8 @@ void Stack_check_report_blown_task(
* rtems_stack_checker_switch_extension
*/
void rtems_stack_checker_switch_extension(
- Thread_Control *running,
- Thread_Control *heir
+ Thread_Control *running __attribute__((unused)),
+ Thread_Control *heir __attribute__((unused))
)
{
Stack_Control *the_stack = &running->Start.Initial_stack;