summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-04 10:38:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-07 07:17:19 +0200
commit0b038bd48b77a650fdc1a74add55523b524b8dac (patch)
treea8cb79964c10c7e76f7cfb63f77cb18a48e46c32 /testsuites
parentfileio: Avoid deprecated rtems_disk_obtain() (diff)
downloadrtems-0b038bd48b77a650fdc1a74add55523b524b8dac.tar.bz2
libblock: Add RTEMS_DEPRECATED
Close #3358.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/libtests/block01/init.c2
-rw-r--r--testsuites/libtests/block11/init.c7
2 files changed, 5 insertions, 4 deletions
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 <rtems/ramdisk.h>
#include <rtems/diskdevs.h>
+#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
* <rtems@embedded-brains.de>
@@ -37,10 +37,9 @@
#include <rtems/diskdevs.h>
#include <rtems/malloc.h>
-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)