From 0b038bd48b77a650fdc1a74add55523b524b8dac Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sat, 4 Aug 2018 10:38:48 +0200 Subject: libblock: Add RTEMS_DEPRECATED Close #3358. --- testsuites/libtests/block01/init.c | 2 ++ testsuites/libtests/block11/init.c | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'testsuites') diff --git a/testsuites/libtests/block01/init.c b/testsuites/libtests/block01/init.c index 04b2ef4986..f7761960ed 100644 --- a/testsuites/libtests/block01/init.c +++ b/testsuites/libtests/block01/init.c @@ -33,6 +33,8 @@ #include #include +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" + const char rtems_test_name[] = "BLOCK 1"; #define ASSERT_SC(sc) rtems_test_assert((sc) == RTEMS_SUCCESSFUL) diff --git a/testsuites/libtests/block11/init.c b/testsuites/libtests/block11/init.c index 82e24d6548..b5b3a5d7e2 100644 --- a/testsuites/libtests/block11/init.c +++ b/testsuites/libtests/block11/init.c @@ -10,7 +10,7 @@ * Copyright (c) 2012 embedded brains GmbH. All rights reserved. * * embedded brains GmbH - * Obere Lagerstr. 30 + * Dornierstr. 4 * 82178 Puchheim * Germany * @@ -37,10 +37,9 @@ #include #include -const char rtems_test_name[] = "BLOCK 11"; +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" -/* forward declarations to avoid warnings */ -static rtems_task Init(rtems_task_argument argument); +const char rtems_test_name[] = "BLOCK 11"; #define ASSERT_SC(sc) rtems_test_assert((sc) == RTEMS_SUCCESSFUL) -- cgit v1.2.3