summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-11 13:56:33 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-11 13:56:33 -0700
commit2b59765da3882f1564e5ae034a35c0ce35441108 (patch)
treef4d37700f4ae3ab36b4a60e3195a539e79a7344a /dive.h
parentc4aa1f542ccbbbdc78dd3d44fe08f6410b9a5d2c (diff)
downloadsubsurface-2b59765da3882f1564e5ae034a35c0ce35441108.tar.gz
Allow the user to delete a dive computer from a dive
This can't be the only dive computer, of course. Goes nicely with the ability to reprder them. Fixes #551 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index be99bffb2..1aa1facf2 100644
--- a/dive.h
+++ b/dive.h
@@ -456,6 +456,8 @@ static inline struct divecomputer *get_dive_dc(struct dive *dive, int nr)
}
extern void make_first_dc(void);
+extern int count_divecomputers(void);
+extern void delete_current_divecomputer(void);
/*
* Iterate over each dive, with the first parameter being the index