diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2012-04-12 12:57:08 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2012-04-12 12:57:08 +0200 |
commit | c628ee67fb15a0d8d48351aa2e487c5f14779785 (patch) | |
tree | 378d9ab0ce3e0309c324606a9835e3fe9e48607f /include | |
parent | fuse: allow nanosecond granularity (diff) | |
download | linux-c628ee67fb15a0d8d48351aa2e487c5f14779785.tar.xz linux-c628ee67fb15a0d8d48351aa2e487c5f14779785.zip |
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 <ssnail@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fuse.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |