1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

resolved: drop bit-field annotations for fields in Manager

Access to bit fields is less efficient, and since the Manager is a singleton,
a byte or two of space in the structure doesn't matter at all. (And in this
particular case, because of alignment issues, we wouldn't save anything
anyway.)
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-06-03 13:09:59 +02:00
parent 7877e5ca7c
commit c2f1e83e27

View File

@ -70,9 +70,9 @@ struct Manager {
LIST_HEAD(DnsSearchDomain, search_domains);
unsigned n_search_domains;
bool need_builtin_fallbacks:1;
bool need_builtin_fallbacks;
bool read_resolv_conf;
bool read_resolv_conf:1;
struct stat resolv_conf_stat;
DnsTrustAnchor trust_anchor;