@@ -143,7 +143,7 @@ typedef struct _ftsent {
unsigned short fts_instr; /* fts_set() instructions */
struct stat *fts_statp; /* stat(2) information */
- char fts_name[1]; /* file name */
+ char fts_name[1] __decl_is_flex_array; /* file name */
} FTSENT;
#ifdef __USE_LARGEFILE64
@@ -173,7 +173,7 @@ typedef struct _ftsent64 {
unsigned short fts_instr; /* fts_set() instructions */
struct stat64 *fts_statp; /* stat(2) information */
- char fts_name[1]; /* file name */
+ char fts_name[1] __decl_is_flex_array; /* file name */
} FTSENT64;
#endif
Signed-off-by: Cristian RodrÃguez <cristian@rodriguez.im> --- io/fts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)