From: Miklos Szeredi Date: Thu, 12 Apr 2012 10:57:08 +0000 (+0200) Subject: fuse: use flexible array in fuse.h X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=c628ee67fb15a0d8d48351aa2e487c5f14779785;p=deliverable%2Flinux.git 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: Shachar Sharon Signed-off-by: Miklos Szeredi --- diff --git a/include/linux/fuse.h b/include/linux/fuse.h index 8ba2c9460b28..8f2ab8fef929 100644 --- a/include/linux/fuse.h +++ b/include/linux/fuse.h @@ -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)