summaryrefslogtreecommitdiffstats
path: root/xlators/system
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/system')
-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 9035d8761..c4e90f5f9 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 0c2b647aa..6ac2c6a84 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[];
};