summaryrefslogtreecommitdiffstats
path: root/core/dive.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-10-06 10:48:41 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-26 11:36:23 -0700
commitd16d57577dae2f97e8e1a8bb33812718039ba605 (patch)
tree0357925a89d7690142a49bfc7cd7bb58c01f59e6 /core/dive.h
parent70737b9eec9e0ff799a5a95e1b714ed1822010cd (diff)
downloadsubsurface-d16d57577dae2f97e8e1a8bb33812718039ba605.tar.gz
Core: export dive-computer freeing function
The dive-computer freeing code was local to dive.c. Implementing the replan undo-command will need that functionality. Therefore, export it as a global function. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.h')
-rw-r--r--core/dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/dive.h b/core/dive.h
index 5f525c013..87aa3e5fd 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -326,6 +326,7 @@ extern void utc_mkdate(timestamp_t, struct tm *tm);
extern struct dive *alloc_dive(void);
extern void free_dive(struct dive *);
+extern void free_dive_dcs(struct divecomputer *dc);
extern void record_dive_to_table(struct dive *dive, struct dive_table *table);
extern void record_dive(struct dive *dive);
extern void clear_dive(struct dive *dive);