*: more portability fixes by Dan Fandrich
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -48,7 +48,7 @@ struct minix_superblock {
|
||||
|
||||
struct minix_dir_entry {
|
||||
uint16_t inode;
|
||||
char name[0];
|
||||
char name[];
|
||||
};
|
||||
|
||||
/* Believe it or not, but mount.h has this one #defined */
|
||||
|
@ -24,7 +24,7 @@ struct romfs_super {
|
||||
uint8_t magic[8];
|
||||
uint32_t size;
|
||||
uint32_t checksum;
|
||||
uint8_t name[0];
|
||||
uint8_t name[];
|
||||
} PACKED;
|
||||
|
||||
int volume_id_probe_romfs(struct volume_id *id /*,uint64_t off*/)
|
||||
|
Reference in New Issue
Block a user