summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/stackchk
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-10-16 08:21:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-10-26 09:13:19 +0100
commitf97536dcd310a1a15426dcd411d55367019879fc (patch)
treed37a1e12bac98a4df4a2dd70d5de3ee99f23d821 /cpukit/libmisc/stackchk
parentbasdefs.h: Add and use RTEMS_DEPRECATED (diff)
downloadrtems-f97536dcd310a1a15426dcd411d55367019879fc.tar.bz2
basdefs.h: Add and use RTEMS_UNUSED
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 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;