summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/taskgetnote.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/taskgetnote.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/taskgetnote.c')
-rw-r--r--cpukit/rtems/src/taskgetnote.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/rtems/src/taskgetnote.c b/cpukit/rtems/src/taskgetnote.c
index b748b8da54..c097d9cfd7 100644
--- a/cpukit/rtems/src/taskgetnote.c
+++ b/cpukit/rtems/src/taskgetnote.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_get_note(
rtems_id id,
uint32_t notepad,