summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/tasksetnote.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/rtems/src/tasksetnote.c')
-rw-r--r--cpukit/rtems/src/tasksetnote.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/rtems/src/tasksetnote.c b/cpukit/rtems/src/tasksetnote.c
index 36fc065f59..42cd4e718d 100644
--- a/cpukit/rtems/src/tasksetnote.c
+++ b/cpukit/rtems/src/tasksetnote.c
@@ -22,6 +22,11 @@
#include <rtems/score/threadimpl.h>
#include <rtems/config.h>
+/*
+ * We know this is deprecated and don't want a warning on every BSP built.
+ */
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+
rtems_status_code rtems_task_set_note(
rtems_id id,
uint32_t notepad,