2011-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>

* libblock/src/nvdisk-sram.c, libi2c/libi2c.c,
	libmisc/shell/main_msdosfmt.c: Eliminate use of GNU old-style field
	designator extension as recommended by clang.
This commit is contained in:
Joel Sherrill
2011-07-07 22:15:00 +00:00
parent 3837e53625
commit 0d23caa93c
4 changed files with 25 additions and 19 deletions

View File

@@ -1,3 +1,9 @@
2011-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libblock/src/nvdisk-sram.c, libi2c/libi2c.c,
libmisc/shell/main_msdosfmt.c: Eliminate use of GNU old-style field
designator extension as recommended by clang.
2011-07-08 Sebastian Huber <sebastian.huber@embedded-brains.de> 2011-07-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libnetworking/rtems/tftp.h, libnetworking/lib/tftpDriver.c: Fixed * libnetworking/rtems/tftp.h, libnetworking/lib/tftpDriver.c: Fixed

View File

@@ -62,7 +62,7 @@ rtems_nvdisk_sram_verify (uint32_t device __attribute__((unused)),
const rtems_nvdisk_driver_handlers rtems_nvdisk_sram_handlers = const rtems_nvdisk_driver_handlers rtems_nvdisk_sram_handlers =
{ {
read: rtems_nvdisk_sram_read, .read = rtems_nvdisk_sram_read,
write: rtems_nvdisk_sram_write, .write = rtems_nvdisk_sram_write,
verify: rtems_nvdisk_sram_verify .verify = rtems_nvdisk_sram_verify
}; };

View File

@@ -338,12 +338,12 @@ rtems_i2c_ioctl (rtems_device_major_number major, rtems_device_minor_number mino
/* Our ops just dispatch to the registered drivers */ /* Our ops just dispatch to the registered drivers */
const rtems_driver_address_table rtems_libi2c_io_ops = { const rtems_driver_address_table rtems_libi2c_io_ops = {
initialization_entry: rtems_i2c_init, .initialization_entry = rtems_i2c_init,
open_entry: rtems_i2c_open, .open_entry = rtems_i2c_open,
close_entry: rtems_i2c_close, .close_entry = rtems_i2c_close,
read_entry: rtems_i2c_read, .read_entry = rtems_i2c_read,
write_entry: rtems_i2c_write, .write_entry = rtems_i2c_write,
control_entry: rtems_i2c_ioctl, .control_entry = rtems_i2c_ioctl,
}; };
int int

View File

@@ -30,16 +30,16 @@ int rtems_shell_main_msdos_format(
) )
{ {
msdos_format_request_param_t rqdata = { msdos_format_request_param_t rqdata = {
OEMName: "RTEMS", .OEMName = "RTEMS",
VolLabel: "RTEMSDisk", .VolLabel = "RTEMSDisk",
sectors_per_cluster: 0, .sectors_per_cluster = 0,
fat_num: 0, .fat_num = 0,
files_per_root_dir: 0, .files_per_root_dir = 0,
fattype: MSDOS_FMT_FATANY, .fattype = MSDOS_FMT_FATANY,
media: 0, .media = 0,
quick_format: TRUE, .quick_format = TRUE,
cluster_align: 0, .cluster_align = 0,
info_level: 0 .info_level = 0
}; };
unsigned long tmp; unsigned long tmp;