From 2c4975f2ed728543d59300a622aa146fd94b4bd1 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 11 Apr 2020 15:00:15 +0200 Subject: cleanup: move copy_cylinders from dive.c to equipment.c Since this doesn't touch struct dive, dive.c is not an appropriate place for this function. Signed-off-by: Berthold Stoeger --- core/equipment.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/equipment.h') diff --git a/core/equipment.h b/core/equipment.h index c5a0db6d6..7df54ad50 100644 --- a/core/equipment.h +++ b/core/equipment.h @@ -71,6 +71,7 @@ struct weightsystem_table { extern int cylinderuse_from_text(const char *text); extern void copy_weights(const struct weightsystem_table *s, struct weightsystem_table *d); +extern void copy_cylinders(const struct cylinder_table *s, struct cylinder_table *d); extern weightsystem_t clone_weightsystem(weightsystem_t ws); extern void free_weightsystem(weightsystem_t ws); extern void copy_cylinder_types(const struct dive *s, struct dive *d); -- cgit v1.2.3-70-g09d2