fuse: use flexible array in fuse.h
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 12 Apr 2012 10:57:08 +0000 (12:57 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Thu, 12 Apr 2012 10:57:08 +0000 (12:57 +0200)
Use the ISO C standard compliant form instead of the gcc extension in the
interface definition.

Reported-by: Shachar Sharon <ssnail@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>

include/linux/fuse.h

index 8ba2c94..8f2ab8f 100644 (file)
@@ -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)