From: Zbigniew Jędrzejewski-Szmek Date: Wed, 3 Jun 2020 11:09:59 +0000 (+0200) Subject: resolved: drop bit-field annotations for fields in Manager X-Git-Tag: v246-rc1~129^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2f1e83e2704c1a1f9c49f5ca62b763c37396d59;p=thirdparty%2Fsystemd.git 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.) --- diff --git a/src/resolve/resolved-manager.h b/src/resolve/resolved-manager.h index 6fa5e734bbb..f8710b40857 100644 --- a/src/resolve/resolved-manager.h +++ b/src/resolve/resolved-manager.h @@ -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;