Skip to content
Snippets Groups Projects
Commit 67e3eee4 authored by Samuel Thibault's avatar Samuel Thibault
Browse files

Avoid embedding struct mbuf in other structures


struct mbuf uses a C99 open char array to allow inlining data. Inlining
this in another structure is however a GNU extension. The inlines used
so far in struct Slirp were actually only needed as head of struct
mbuf lists. This replaces these inline with mere struct quehead,
and use casts as appropriate.

Signed-off-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent c17c0723
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment