diff options
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/libtests/block01/init.c | 2 | ||||
-rw-r--r-- | testsuites/libtests/block11/init.c | 7 |
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) |