projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a65799
)
use flexible array in include/fuse_kernel.h
author
Miklos Szeredi
<mszeredi@suse.cz>
Fri, 20 Apr 2012 10:19:24 +0000
(12:19 +0200)
committer
Miklos 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
patch
|
blob
|
history
diff --git
a/include/fuse_kernel.h
b/include/fuse_kernel.h
index 7b43cb016d6c1a551c5b278f6217bf0669086d49..1ce072c213099d4304b7b09ec5b1f9e32a020a75 100644
(file)
--- 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)