commit | 24b87607c1353e94689e8a2190571ab3f3b36f31 | [log] [tgz] |
---|---|---|
author | Petr Menšík <pemensik@redhat.com> | Wed Oct 24 22:30:18 2018 +0100 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Wed Oct 24 22:30:18 2018 +0100 |
tree | 3538536a606d6528e9a89b8bda35f8e822048b13 | |
parent | 6f7812d97bc8f87004c0a5069c6c94c64af78106 [diff] |
Do not rely on dead code elimination, use array instead. Make options bits derived from size and count. Use size of option bits and last supported bit in computation. No new change would be required when new options are added. Just change OPT_LAST constant.