diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-03-14 11:04:25 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-03-17 10:05:06 -0500 |
commit | 217b3f53f635350f6595e97cd2a12d0d4ec6a9a4 (patch) | |
tree | 1402bdfdfb1dbb71d70b7b113961589cfad4d949 /cpukit/rtems/src/tasksetnote.c | |
parent | libmisc/monitor/mon-task.c: Disable deprecated warning for use of notepads (diff) | |
download | rtems-217b3f53f635350f6595e97cd2a12d0d4ec6a9a4.tar.bz2 |
Disable deprecated warning on implementation of deprecated methods
Diffstat (limited to 'cpukit/rtems/src/tasksetnote.c')
-rw-r--r-- | cpukit/rtems/src/tasksetnote.c | 5 |
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, |