summaryrefslogtreecommitdiffstats
path: root/core/dive.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/dive.h')
-rw-r--r--core/dive.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/dive.h b/core/dive.h
index b9ec48824..f80412a03 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -416,12 +416,13 @@ extern bool autogroup;
extern void add_dive_to_trip(struct dive *, dive_trip_t *);
+struct dive *unregister_dive(int idx);
extern void delete_single_dive(int idx);
extern void add_single_dive(int idx, struct dive *dive);
extern void insert_trip(dive_trip_t **trip);
-extern struct dive_trip *clone_empty_trip(struct dive_trip *trip);
-
+extern void unregister_trip(dive_trip_t *trip);
+extern void free_trip(dive_trip_t *trip);
extern const struct units SI_units, IMPERIAL_units;
extern struct units xml_parsing_units;