diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2015-06-01 23:13:51 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-01 21:36:48 -0700 |
commit | 6cd85d9b731ef646b605d483dbbcddbc70283338 (patch) | |
tree | acb08cd7f45fbcf375a7f41525fb102ebd9fdbd0 /divelist.h | |
parent | ee9746c622e84ed8385c8bbd0e6ffa61f4c813a4 (diff) | |
download | subsurface-6cd85d9b731ef646b605d483dbbcddbc70283338.tar.gz |
Simplify model handling and crashes fixes
So, there's only one crash left (that I put a big TODO: on the maintab.cpp
about) and I'll fix it tomorrow as it's quite late here and I'm almost
sleeping at the keyboard.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
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 79e1f6cbc..91318c3b1 100644 --- a/divelist.h +++ b/divelist.h @@ -22,6 +22,7 @@ extern dive_trip_t *find_trip_by_idx(int idx); extern int trip_has_selected_dives(dive_trip_t *trip); 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); |