]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/missing.h
sd-netlink: types - let tables be sized implicitly
authorTom Gundersen <teg@jklm.no>
Wed, 11 Nov 2015 14:17:29 +0000 (15:17 +0100)
committerTom Gundersen <teg@jklm.no>
Wed, 11 Nov 2015 14:42:38 +0000 (15:42 +0100)
commit8ae4b6d12ca93fcfa17d209c40ea0b75c8a7f88e
treedad4894c0edb5770a1c5b9e75cb5e91d278bc613
parent6b9e85a7dea3a14be8d6229a667222f104cec208
sd-netlink: types - let tables be sized implicitly

This way we do not rely on the size MAX* constants from the kernel headers, as these will
be out-of-sync in case we have old headers and new defines in missing.h.
src/basic/missing.h
src/libsystemd/sd-netlink/netlink-types.c