From: Miklos Szeredi Date: Fri, 20 Apr 2012 10:19:24 +0000 (+0200) Subject: use flexible array in include/fuse_kernel.h X-Git-Tag: fuse_2_9_0~2 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2ce21cd3c72bc26fa0ee8ec8ab361d628c9105d3;p=qemu-gpiodev%2Flibfuse.git use flexible array in include/fuse_kernel.h Use the ISO C standard compliant form instead of the gcc extension in the interface definition. --- diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h index 7b43cb0..1ce072c 100644 --- a/include/fuse_kernel.h +++ b/include/fuse_kernel.h @@ -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)