diff options
| author | 2014-06-11 13:56:33 -0700 | |
|---|---|---|
| committer | 2014-06-11 13:56:33 -0700 | |
| commit | 2b59765da3882f1564e5ae034a35c0ce35441108 (patch) | |
| tree | f4d37700f4ae3ab36b4a60e3195a539e79a7344a /dive.h | |
| parent | c4aa1f542ccbbbdc78dd3d44fe08f6410b9a5d2c (diff) | |
| download | subsurface-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |