diff options
author | Giorgio Marzano <marzano.giorgio@gmail.com> | 2015-10-06 17:41:36 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-06 21:12:33 +0100 |
commit | 637c3502e9fefbebc9a6c884518cf62fa1dd2b8d (patch) | |
tree | 96dc261e09a26fc4ab4c0e4f38e67dfa065889e7 /dive.h | |
parent | 645bc0b46e3567a53cc54429b2fb1346c1848216 (diff) | |
download | subsurface-637c3502e9fefbebc9a6c884518cf62fa1dd2b8d.tar.gz |
Force split dives attributes update.
Moved relevant code in a new helper function
Signed-off-by: Giorgio Marzano <marzano.giorgio@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -721,6 +721,7 @@ extern void fixup_dc_duration(struct divecomputer *dc); extern int dive_getUniqID(struct dive *d); extern unsigned int dc_airtemp(struct divecomputer *dc); extern unsigned int dc_watertemp(struct divecomputer *dc); +static void force_fixup_dive(struct dive *d); extern int split_dive(struct dive *); extern struct dive *merge_dives(struct dive *a, struct dive *b, int offset, bool prefer_downloaded); extern struct dive *try_to_merge(struct dive *a, struct dive *b, bool prefer_downloaded); |