summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/stackchk/check.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libmisc/stackchk/check.c')
-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 a44279864a..9c6932e290 100644
--- a/cpukit/libmisc/stackchk/check.c
+++ b/cpukit/libmisc/stackchk/check.c
@@ -182,7 +182,7 @@ static void Stack_check_Initialize( void )
* rtems_stack_checker_create_extension
*/
bool rtems_stack_checker_create_extension(
- Thread_Control *running __attribute__((unused)),
+ Thread_Control *running RTEMS_UNUSED,
Thread_Control *the_thread
)
{
@@ -276,8 +276,8 @@ void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
* rtems_stack_checker_switch_extension
*/
void rtems_stack_checker_switch_extension(
- Thread_Control *running __attribute__((unused)),
- Thread_Control *heir __attribute__((unused))
+ Thread_Control *running RTEMS_UNUSED,
+ Thread_Control *heir RTEMS_UNUSED
)
{
Stack_Control *the_stack = &running->Start.Initial_stack;