summaryrefslogtreecommitdiffstats
path: root/xlators/system/posix-acl/src
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/system/posix-acl/src')
-rw-r--r--xlators/system/posix-acl/src/posix-acl-xattr.h2
-rw-r--r--xlators/system/posix-acl/src/posix-acl.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/xlators/system/posix-acl/src/posix-acl-xattr.h b/xlators/system/posix-acl/src/posix-acl-xattr.h
index 9035d87613b..c4e90f5f9c8 100644
--- a/xlators/system/posix-acl/src/posix-acl-xattr.h
+++ b/xlators/system/posix-acl/src/posix-acl-xattr.h
@@ -27,7 +27,7 @@ struct posix_acl_xattr_entry {
struct posix_acl_xattr_header {
uint32_t version;
- struct posix_acl_xattr_entry entries[0];
+ struct posix_acl_xattr_entry entries[];
};
struct posix_acl *posix_acl_from_xattr (xlator_t *this, const char *buf, int size);
diff --git a/xlators/system/posix-acl/src/posix-acl.h b/xlators/system/posix-acl/src/posix-acl.h
index 0c2b647aa84..6ac2c6a8433 100644
--- a/xlators/system/posix-acl/src/posix-acl.h
+++ b/xlators/system/posix-acl/src/posix-acl.h
@@ -43,7 +43,7 @@ struct posix_ace {
struct posix_acl {
int refcnt;
int count;
- struct posix_ace entries[0];
+ struct posix_ace entries[];
};