diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-04-16 21:58:26 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-05-11 12:35:11 -0700 |
commit | c529cfd361365d3440823efe289a68af6310a983 (patch) | |
tree | 2f84a5f9ea944b78b2947879e8bf99cfc15715c7 | |
parent | 6586ba5579dbe4eb360bc646572e58350d12bffb (diff) | |
download | subsurface-c529cfd361365d3440823efe289a68af6310a983.tar.gz |
Cleanup: remove for_each_gps_location macro
This macro had no users.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r-- | core/dive.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/dive.h b/core/dive.h index 7a6cf4099..588ed7041 100644 --- a/core/dive.h +++ b/core/dive.h @@ -452,9 +452,6 @@ void split_divecomputer(const struct dive *src, int num, struct dive **out1, str #define for_each_dc(_dive, _dc) \ for (_dc = &_dive->dc; _dc; _dc = _dc->next) -#define for_each_gps_location(_i, _x) \ - for ((_i) = 0; ((_x) = get_gps_location(_i, &gps_location_table)) != NULL; (_i)++) - extern struct dive *get_dive_by_uniq_id(int id); extern int get_idx_by_uniq_id(int id); extern bool dive_site_has_gps_location(const struct dive_site *ds); |