diff options
author | Lennart Poettering <lennart@poettering.net> | 2022-11-16 21:37:20 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-11-21 16:13:17 +0100 |
commit | 7736a71fd2c4f0704db2e0d110959f817829cb85 (patch) | |
tree | cf46ad874a24607341e783fac5de3109ed6e629b /mkosi.conf.d | |
parent | 28795f2c138203fb700fc394f0937708af886116 (diff) | |
download | systemd-7736a71fd2c4f0704db2e0d110959f817829cb85.tar.gz |
dlfcn-util: add static asserts ensuring our sym_xyz() func ptrs match the types from the official headers
Make sure that the sym_xyz function pointers have the types that the
functions we'll assign them have.
And of course, this found a number of incompatibilities right-away, in
particular in the bpf hookup.
(Doing this will trigger deprecation warnings from libbpf. I simply
turned them off locally now, since we are well aware of what we are
doing in that regard.)
There's one return type fix (bool → int), that actually matters I think,
as it might have created an incompatibility on some archs.
Diffstat (limited to 'mkosi.conf.d')
0 files changed, 0 insertions, 0 deletions