mirror of
https://github.com/systemd/systemd
synced 2024-07-21 18:24:38 +00:00
resolve: Use only C99 flex arrays (#25335)
This commit is contained in:
parent
46fddd8eb6
commit
1af427632f
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue