diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-11 15:00:15 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-05-06 13:58:09 -0700 |
commit | 2c4975f2ed728543d59300a622aa146fd94b4bd1 (patch) | |
tree | 5658d15b70690a7bc66bd213e32ad181d16717f1 /core/equipment.h | |
parent | fdca1303870ebeb0ea846984e0a9eb8804000390 (diff) | |
download | subsurface-2c4975f2ed728543d59300a622aa146fd94b4bd1.tar.gz |
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/equipment.h')
-rw-r--r-- | core/equipment.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |