summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/taskvariableget.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/taskvariableget.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 '')
-rw-r--r--cpukit/rtems/src/taskvariableget.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/rtems/src/taskvariableget.c b/cpukit/rtems/src/taskvariableget.c
index ba49b4d88e..3b9cd25a86 100644
--- a/cpukit/rtems/src/taskvariableget.c
+++ b/cpukit/rtems/src/taskvariableget.c
@@ -25,10 +25,9 @@
#include <rtems/config.h>
/*
- * rtems_task_variable_get
- *
- * This directive gets the value of a task variable.
+ * 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_variable_get(
rtems_id tid,