summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/taskvariable_invoke_dtor.c
diff options
context:
space:
mode:
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