提交 c628ee67 编写于 作者: M Miklos Szeredi

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: NShachar Sharon <ssnail@gmail.com>
Signed-off-by: NMiklos Szeredi <mszeredi@suse.cz>
上级 0a2da9b2
...@@ -593,7 +593,7 @@ struct fuse_dirent { ...@@ -593,7 +593,7 @@ struct fuse_dirent {
__u64 off; __u64 off;
__u32 namelen; __u32 namelen;
__u32 type; __u32 type;
char name[0]; char name[];
}; };
#define FUSE_NAME_OFFSET offsetof(struct fuse_dirent, name) #define FUSE_NAME_OFFSET offsetof(struct fuse_dirent, name)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册