*: more portability fixes by Dan Fandrich

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2009-09-23 23:15:43 +02:00
parent 1f27ab0d4b
commit 606291beab
10 changed files with 11 additions and 13 deletions

View File

@ -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 */

View File

@ -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*/)