summaryrefslogtreecommitdiffstats
path: root/core/dive.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-05-22 22:11:49 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-22 14:40:49 -0700
commit9365061e2799439532f4de1084735a141924330f (patch)
tree236120a2a083f5116b8e262f55d25569a244d8f4 /core/dive.h
parent8f80129bac29227a03c35940af9d197ef0fa6398 (diff)
downloadsubsurface-9365061e2799439532f4de1084735a141924330f.tar.gz
cleanup: remove unused function get_dive_n_near()
The last caller was removed in 7eb422d98837b3cfb289a66fa0f3a8f78f222001. Since this is the only caller of dive_within_time_range(), remove that function as well. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.h')
-rw-r--r--core/dive.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/dive.h b/core/dive.h
index a7bd4c447..3cf0323c9 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -272,9 +272,7 @@ extern bool dive_site_has_gps_location(const struct dive_site *ds);
extern int dive_has_gps_location(const struct dive *dive);
extern location_t dive_get_gps_location(const struct dive *d);
-extern bool dive_within_time_range(struct dive *dive, timestamp_t when, timestamp_t offset);
extern bool time_during_dive_with_offset(struct dive *dive, timestamp_t when, timestamp_t offset);
-struct dive *find_dive_n_near(timestamp_t when, int n, timestamp_t offset);
/* Check if two dive computer entries are the exact same dive (-1=no/0=maybe/1=yes) */
extern int match_one_dc(const struct divecomputer *a, const struct divecomputer *b);