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/clockget.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/clockget.c')
-rw-r--r-- | cpukit/rtems/src/clockget.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/rtems/src/clockget.c b/cpukit/rtems/src/clockget.c index af14ad9197..860e93021a 100644 --- a/cpukit/rtems/src/clockget.c +++ b/cpukit/rtems/src/clockget.c @@ -25,6 +25,12 @@ #include <rtems/score/thread.h> #include <rtems/score/watchdog.h> +/* + * Ignore deprecated warning when compiling this method. We know + * this method is deprecated. + */ +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" + rtems_status_code rtems_clock_get( rtems_clock_get_options option, void *time_buffer |