summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-zone.h
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2015-07-22 17:05:41 +0200
committerMichal Schmidt <mschmidt@redhat.com>2015-07-22 19:29:05 +0200
commit249a2737ba5d0a22f09f077b361d01d514eaf672 (patch)
treef552a44c1665aa5e6d36544cf5cd761ec39eff39 /src/resolve/resolved-dns-zone.h
parentbd37a92297a89f00d03757cf860dff9a8ae59b16 (diff)
basic: better readable IN_SET macro
Putting the set elements in an array variable and using ELEMENTSOF makes it clearer what's going on. Incidentally, it also makes gcc -O2 generate slightly smaller code: "size systemd", before: text data bss dec hex filename 1378318 128608 2632 1509558 1708b6 systemd After: text data bss dec hex filename 1377286 128608 2632 1508526 1704ae systemd
Diffstat (limited to 'src/resolve/resolved-dns-zone.h')
0 files changed, 0 insertions, 0 deletions