summaryrefslogtreecommitdiffstats
path: root/divelist.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-15 07:06:32 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-15 07:16:36 -0700
commitbfe21343ca1f4c26e3fed2a3f446901a91d0b92e (patch)
treee8557cac1bde18a3c1c5ab89d3626f9c907587e5 /divelist.h
parent0a9ad49f0aaf45a4d89c4ed90ce2c5c6fab154d5 (diff)
downloadsubsurface-bfe21343ca1f4c26e3fed2a3f446901a91d0b92e.tar.gz
Remove second dive_trip_list definition and douplicate helper function
dive_trip_list is simply a global variable, declared in dive.h. The clear_trip_indexes() helper is purely logic and was moved to divetrip.c - but then not deleted in divetrip-gtk.c Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divelist.h')
-rw-r--r--divelist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/divelist.h b/divelist.h
index 60300474b..ac7953287 100644
--- a/divelist.h
+++ b/divelist.h
@@ -22,6 +22,7 @@ extern void upload_all_dives_divelogs_cb();
#endif
/* divelist core logic functions */
+extern void clear_trip_indexes(void);
extern dive_trip_t *find_trip_by_idx(int idx);
extern int dive_nr_sort(int idx_a, int idx_b, timestamp_t when_a, timestamp_t when_b);
extern int trip_has_selected_dives(dive_trip_t *trip);