Skip to content

Commit

Permalink
fuse: use flexible array in fuse.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Miklos Szeredi committed Apr 12, 2012
1 parent 0a2da9b commit c628ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/fuse.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c628ee6

Please sign in to comment.