diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-04-11 13:58:33 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-04-11 13:58:33 +0200 |
commit | 7b369afba9fecbf8a87a42375376d4ca8af7560c (patch) | |
tree | 5633949494ff207b4e7835ba6ab51164af66bf6f /testsuites/fstests | |
parent | sapi: Fix unified workspace option (diff) | |
download | rtems-7b369afba9fecbf8a87a42375376d4ca8af7560c.tar.bz2 |
testsuites: Fix warnings
Diffstat (limited to 'testsuites/fstests')
-rw-r--r-- | testsuites/fstests/fsbdpart01/init.c | 3 | ||||
-rw-r--r-- | testsuites/fstests/support/fstest_support.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/testsuites/fstests/fsbdpart01/init.c b/testsuites/fstests/fsbdpart01/init.c index bf6719cd20..b94afdce46 100644 --- a/testsuites/fstests/fsbdpart01/init.c +++ b/testsuites/fstests/fsbdpart01/init.c @@ -196,7 +196,10 @@ static void test_ide_part_table(void) rtems_status_code sc = RTEMS_SUCCESSFUL; test_logical_disks(&ide_part_table_rdax [0], false); +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" sc = rtems_ide_part_table_initialize(rda); +#pragma GCC diagnostic pop ASSERT_SC(sc); test_logical_disks(&ide_part_table_rdax [0], true); } diff --git a/testsuites/fstests/support/fstest_support.c b/testsuites/fstests/support/fstest_support.c index 164ef7b79c..56526a949b 100644 --- a/testsuites/fstests/support/fstest_support.c +++ b/testsuites/fstests/support/fstest_support.c @@ -29,7 +29,7 @@ #include "fstest.h" #include "pmacros.h" -volatile void *prevent_compiler_optimizations; +void *volatile prevent_compiler_optimizations; /* Break out of a chroot() environment in C */ static void break_out_of_chroot(void) |