diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-08-04 14:42:21 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-09 19:19:04 +0100 |
commit | 4355ce3924943eb22a6e3296372710953ff0b99d (patch) | |
tree | 45a0c04cad9eed9a5645c58aafb17cd265f1b4cb /core/equipment.h | |
parent | 860807bf922f6fa08260def906df4d864353c90f (diff) | |
download | subsurface-4355ce3924943eb22a6e3296372710953ff0b99d.tar.gz |
Cleanup: move copy_cylinder_types() from dive.c to equipment.c
Thus, future callers will not have to include the monster dive.h
include if they just want to copy cylinders.
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 4b5113740..beef30842 100644 --- a/core/equipment.h +++ b/core/equipment.h @@ -57,6 +57,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_cylinder_types(const struct dive *s, struct dive *d); extern void add_cloned_weightsystem(struct weightsystem_table *t, weightsystem_t ws); extern void add_cylinder_description(const cylinder_type_t *); extern void add_weightsystem_description(const weightsystem_t *); |