summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spclockget
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-14 10:52:24 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-03-17 10:05:07 -0500
commite334edd1715abe7a82fea118ef1efc57806e1fe9 (patch)
treec2eb3ccd14d8dd88d16576ab46a57c7b38d45feb /testsuites/sptests/spclockget
parentDisable deprecated warning on implementation of deprecated methods (diff)
downloadrtems-e334edd1715abe7a82fea118ef1efc57806e1fe9.tar.bz2
tests misc: Disable deprecated method usage warning when intentional
These tests intentionally use the deprecated method. Eventually this code in the sections can be deleted.
Diffstat (limited to 'testsuites/sptests/spclockget')
-rw-r--r--testsuites/sptests/spclockget/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/sptests/spclockget/init.c b/testsuites/sptests/spclockget/init.c
index 145beed12f..8cdae21cdb 100644
--- a/testsuites/sptests/spclockget/init.c
+++ b/testsuites/sptests/spclockget/init.c
@@ -14,6 +14,8 @@
#include <tmacros.h>
#include "pritime.h"
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+
const char rtems_test_name[] = "SPCLOCKGET";
/* forward declarations to avoid warnings */