diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2021-04-19 11:37:46 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-04-19 12:51:01 -0700 |
commit | 194fe28d5053027cb6f3818f836ffb0f57667ef7 (patch) | |
tree | 2313516cfceb7322f5cbb50e7214869736e69260 /core/divelist.h | |
parent | 9620d1182885bb8ac0dd05eeaf8d4e108461cfab (diff) | |
download | subsurface-194fe28d5053027cb6f3818f836ffb0f57667ef7.tar.gz |
cleanup: don't hardcode array length
Move the ARRAY_SIZE macro into a header file and use it to determine the
number of cloud servers that we need to check.
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/divelist.h')
0 files changed, 0 insertions, 0 deletions