diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-08-01 13:36:46 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-08-04 01:17:57 +0200 |
commit | 8218d990138b7da8411351488ea06243134ae37b (patch) | |
tree | 518c9c6cd5a8915b10d35adf24cc5283f8b9de05 /util.h | |
parent | 649068a287b2b559f83b6d255c66221991d68327 (diff) | |
download | passt-8218d990138b7da8411351488ea06243134ae37b.tar passt-8218d990138b7da8411351488ea06243134ae37b.tar.gz passt-8218d990138b7da8411351488ea06243134ae37b.tar.bz2 passt-8218d990138b7da8411351488ea06243134ae37b.tar.lz passt-8218d990138b7da8411351488ea06243134ae37b.tar.xz passt-8218d990138b7da8411351488ea06243134ae37b.tar.zst passt-8218d990138b7da8411351488ea06243134ae37b.zip |
Use C11 anonymous members to make poll refs less verbose to use
union epoll_ref has a deeply nested set of structs and unions to let us
subdivide it into the various different fields we want. This means that
referencing elements can involve an awkward long string of intermediate
fields.
Using C11 anonymous structs and unions lets us do this less clumsily.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions