diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-10 14:03:10 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-10 14:46:59 +0100 |
commit | 38d1e120636bf6c998ea0e5be5524e40e38716e3 (patch) | |
tree | 12d7ef96e52368a497ea3eb766b15b711e51f0c0 /src/network/networkd-dhcp4.h | |
parent | sd-netlink: pahole optimization of sd_netlink_slot (diff) | |
download | systemd-38d1e120636bf6c998ea0e5be5524e40e38716e3.tar.xz systemd-38d1e120636bf6c998ea0e5be5524e40e38716e3.zip |
sd-bus: drop some bitfields in sd_bus_slot
A hole was/is present after the booleans, so changing them to be one byte each
doesn't change the structure size (122 bits on amd64). If we add more stuff
later, it might make sense to turn some of those into bitfields again. For now,
let's take the easy route. EINVAL fits into type now.
Code size it minimally reduced:
-rwxrwxr-x 1 zbyszek zbyszek 4109792 Feb 10 14:00 build/libsystemd.so.0.30.0
-rwxrwxr-x 1 zbyszek zbyszek 4109712 Feb 10 14:01 build/libsystemd.so.0.30.0
Diffstat (limited to 'src/network/networkd-dhcp4.h')
0 files changed, 0 insertions, 0 deletions