1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-06 00:58:29 +03:00

resolve: Use only C99 flex arrays (#25335)

This commit is contained in:
Cristian Rodríguez 2022-11-11 11:22:49 -03:00 committed by GitHub
parent 46fddd8eb6
commit 1af427632f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ struct DnsQuestionItem {
struct DnsQuestion {
unsigned n_ref;
size_t n_keys, n_allocated;
DnsQuestionItem items[0];
DnsQuestionItem items[];
};
DnsQuestion *dns_question_new(size_t n);