Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c628ee67 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

fuse: use flexible array in fuse.h



Use the ISO C standard compliant form instead of the gcc extension in the
interface definition.

Reported-by: default avatarShachar Sharon <ssnail@gmail.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent 0a2da9b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -593,7 +593,7 @@ struct fuse_dirent {
	__u64	off;
	__u32	namelen;
	__u32	type;
	char name[0];
	char name[];
};

#define FUSE_NAME_OFFSET offsetof(struct fuse_dirent, name)