mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
Cleanup: remove for_each_gps_location macro
This macro had no users. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
6586ba5579
commit
c529cfd361
1 changed files with 0 additions and 3 deletions
|
@ -452,9 +452,6 @@ void split_divecomputer(const struct dive *src, int num, struct dive **out1, str
|
||||||
#define for_each_dc(_dive, _dc) \
|
#define for_each_dc(_dive, _dc) \
|
||||||
for (_dc = &_dive->dc; _dc; _dc = _dc->next)
|
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 struct dive *get_dive_by_uniq_id(int id);
|
||||||
extern int get_idx_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);
|
extern bool dive_site_has_gps_location(const struct dive_site *ds);
|
||||||
|
|
Loading…
Reference in a new issue