[rtems commit] fstests: Use designated initializers
Sebastian Huber
sebh at rtems.org
Wed Jan 30 16:03:40 UTC 2013
Module: rtems
Branch: master
Commit: 524cdbbccd7fabaee28948ec5501552c82e38035
Changeset: http://git.rtems.org/rtems/commit/?id=524cdbbccd7fabaee28948ec5501552c82e38035
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Jan 30 16:58:21 2013 +0100
fstests: Use designated initializers
---
testsuites/fstests/mdosfs_support/fs_support.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/testsuites/fstests/mdosfs_support/fs_support.c b/testsuites/fstests/mdosfs_support/fs_support.c
index 62370c9..7d3cf83 100644
--- a/testsuites/fstests/mdosfs_support/fs_support.c
+++ b/testsuites/fstests/mdosfs_support/fs_support.c
@@ -25,16 +25,16 @@
#define BLOCK_SIZE 512
-msdos_format_request_param_t rqdata = {
- OEMName: "RTEMS",
- VolLabel: "RTEMSDisk",
- sectors_per_cluster: 2,
- fat_num: 0,
- files_per_root_dir: 0,
- media: 0,
- quick_format: FALSE,
- skip_alignment: 0,
- info_level: 0
+static const msdos_format_request_param_t rqdata = {
+ .OEMName = "RTEMS",
+ .VolLabel = "RTEMSDisk",
+ .sectors_per_cluster = 2,
+ .fat_num = 0,
+ .files_per_root_dir = 0,
+ .media = 0,
+ .quick_format = false,
+ .skip_alignment = 0,
+ .info_level = 0
};
void test_initialize_filesystem(void)
More information about the vc
mailing list