summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/taskvariable_invoke_dtor.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-14 11:04:25 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-17 10:05:06 -0500
commit217b3f53f635350f6595e97cd2a12d0d4ec6a9a4 (patch)
tree1402bdfdfb1dbb71d70b7b113961589cfad4d949 /cpukit/rtems/src/taskvariable_invoke_dtor.c
parentlibmisc/monitor/mon-task.c: Disable deprecated warning for use of notepads (diff)
downloadrtems-217b3f53f635350f6595e97cd2a12d0d4ec6a9a4.tar.bz2
Disable deprecated warning on implementation of deprecated methods
Diffstat (limited to 'cpukit/rtems/src/taskvariable_invoke_dtor.c')
-rw-r--r--cpukit/rtems/src/taskvariable_invoke_dtor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/rtems/src/taskvariable_invoke_dtor.c b/cpukit/rtems/src/taskvariable_invoke_dtor.c
index 062772369f..b9213f2bd6 100644
--- a/cpukit/rtems/src/taskvariable_invoke_dtor.c
+++ b/cpukit/rtems/src/taskvariable_invoke_dtor.c
@@ -23,6 +23,11 @@
#include <rtems/score/threadimpl.h>
#include <rtems/score/wkspace.h>
+/*
+ * We know this is deprecated and don't want a warning on every BSP built.
+ */
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+
void _RTEMS_Tasks_Invoke_task_variable_dtor(
Thread_Control *the_thread,
rtems_task_variable_t *tvp