summaryrefslogtreecommitdiffstats
path: root/core/divelist.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-07-18 07:48:45 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-18 09:04:47 -0700
commit3a933637dab9aa4fee55198623a6f9235727cfde (patch)
tree6d30cad6e31718872e45dfcf2c97a72d36f1e04a /core/divelist.h
parentb7bb9b417775b6ef69c7c865144d857fd00bb506 (diff)
downloadsubsurface-3a933637dab9aa4fee55198623a6f9235727cfde.tar.gz
Cleanup: removed unused functions in divelist.h
find_trip_by_idx() and find_matching_trip() weren't used anywhere. The trip index actually is only misused as a "trip saved"-flag. trip_has_selected_dives() only existed as a comment. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/divelist.h')
-rw-r--r--core/divelist.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/divelist.h b/core/divelist.h
index 84e680ab4..d014b4df1 100644
--- a/core/divelist.h
+++ b/core/divelist.h
@@ -21,13 +21,10 @@ extern int init_decompression(struct deco_state *ds, struct dive *dive);
extern void process_dives(bool imported, bool prefer_imported);
extern char *get_dive_gas_string(struct dive *dive);
-extern dive_trip_t *find_trip_by_idx(int idx);
-
struct dive **grow_dive_table(struct dive_table *table);
extern void get_dive_gas(struct dive *dive, int *o2_p, int *he_p, int *o2low_p);
extern int get_divenr(struct dive *dive);
extern int get_divesite_idx(struct dive_site *ds);
-extern dive_trip_t *find_matching_trip(timestamp_t when);
extern void remove_dive_from_trip(struct dive *dive, short was_autogen);
extern dive_trip_t *create_and_hookup_trip_from_dive(struct dive *dive);
extern void autogroup_dives(void);