use flexible array in include/fuse_kernel.h
authorMiklos Szeredi <mszeredi@suse.cz>
Fri, 20 Apr 2012 10:19:24 +0000 (12:19 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Fri, 20 Apr 2012 10:19:24 +0000 (12:19 +0200)
Use the ISO C standard compliant form instead of the gcc extension in the
interface definition.

include/fuse_kernel.h

index 7b43cb016d6c1a551c5b278f6217bf0669086d49..1ce072c213099d4304b7b09ec5b1f9e32a020a75 100644 (file)
@@ -624,7 +624,7 @@ struct fuse_dirent {
        __u64   off;
        __u32   namelen;
        __u32   type;
-       char name[0];
+       char name[];
 };
 
 #define FUSE_NAME_OFFSET offsetof(struct fuse_dirent, name)