summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Giorgio Marzano <marzano.giorgio@gmail.com>2015-10-06 17:41:36 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-06 21:12:33 +0100
commit637c3502e9fefbebc9a6c884518cf62fa1dd2b8d (patch)
tree96dc261e09a26fc4ab4c0e4f38e67dfa065889e7 /dive.h
parent645bc0b46e3567a53cc54429b2fb1346c1848216 (diff)
downloadsubsurface-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index cef1106fd..f0397544f 100644
--- a/dive.h
+++ b/dive.h
@@ -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);