diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-04-15 07:06:32 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-04-15 07:12:44 -0700 |
commit | db180bf46e28aea3cc7dad2a695b1e0fa1b20e1e (patch) | |
tree | aed3aebcfb0c49b3862552df1e32fb5cb5884794 /divelist.h | |
parent | 944d286132fe9529f7f6281c71b291af3ed937bc (diff) | |
download | subsurface-db180bf46e28aea3cc7dad2a695b1e0fa1b20e1e.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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/divelist.h b/divelist.h index 4772f89d9..e7de9e631 100644 --- a/divelist.h +++ b/divelist.h @@ -21,6 +21,7 @@ extern double init_decompression(struct dive * dive); extern void export_all_dives_uddf_cb(); /* 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); |