diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2015-07-22 17:05:41 +0200 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2015-07-22 19:29:05 +0200 |
commit | 249a2737ba5d0a22f09f077b361d01d514eaf672 (patch) | |
tree | f552a44c1665aa5e6d36544cf5cd761ec39eff39 /shell-completion | |
parent | bd37a92297a89f00d03757cf860dff9a8ae59b16 (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 'shell-completion')
0 files changed, 0 insertions, 0 deletions