Zero-length arrays are deprecated and should be replaced with flexible-array members.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -514,7 +514,7 @@ struct audit_rule_data { · 513 unmodified lines | ||
| 514 | 514 | __u32 values[AUDIT_MAX_FIELDS]; |
| 515 | 515 | __u32 fieldflags[AUDIT_MAX_FIELDS]; |
| 516 | 516 | __u32 buflen; /* total length of string fields */ |
| 517 | − char buf[0]; /* string fields buffer */ | |
| 517 | + char buf[]; /* string fields buffer */ | |
| 518 | 518 | }; |
| 519 | 519 | |
| 520 | 520 | #endif /* _UAPI_LINUX_AUDIT_H_ */ |