File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ struct au_nhash {
25
25
26
26
struct au_vdir_destr {
27
27
unsigned char len ;
28
- unsigned char name [0 ];
28
+ unsigned char name [];
29
29
} __packed ;
30
30
31
31
struct au_vdir_dehstr {
Original file line number Diff line number Diff line change @@ -571,7 +571,7 @@ struct au_drinfo_rev_elm {
571
571
struct au_drinfo_rev {
572
572
unsigned char already ;
573
573
aufs_bindex_t nelm ;
574
- struct au_drinfo_rev_elm elm [0 ];
574
+ struct au_drinfo_rev_elm elm [];
575
575
};
576
576
577
577
/* todo: isn't it too large? */
Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ struct au_rdu_ent {
274
274
uint8_t type ;
275
275
uint8_t nlen ;
276
276
uint8_t wh ;
277
- char name [0 ];
277
+ char name [];
278
278
} __aligned (8 );
279
279
280
280
static inline int au_rdu_len (int nlen )
@@ -325,7 +325,7 @@ struct au_drinfo {
325
325
uint8_t oldnamelen ;
326
326
uint64_t _padding ;
327
327
};
328
- uint8_t oldname [0 ];
328
+ uint8_t oldname [];
329
329
} __aligned (8 );
330
330
331
331
struct au_drinfo_fdata {
@@ -419,7 +419,7 @@ union aufs_brinfo {
419
419
struct {
420
420
int16_t id ;
421
421
int perm ;
422
- char path [0 ];
422
+ char path [];
423
423
};
424
424
} __aligned (8 );
425
425
You can’t perform that action at this time.
0 commit comments