diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-07-15 22:16:56 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-07-18 05:42:55 -0700 |
commit | b862e028c6695e9adfdffc2b46ad3c433ec7f214 (patch) | |
tree | 79ab8cc4addc868daedc741dc688f4f38d1cffc6 /core/equipment.h | |
parent | 342d04631eca0b2cc6138d2361e41a29ffb982e0 (diff) | |
download | subsurface-b862e028c6695e9adfdffc2b46ad3c433ec7f214.tar.gz |
Cleanup: move cylinderuse_from_text() to equipment.c
Since this function doesn't act on a dive and is only related
to cylinders, move it to equipment.c and equipment.h.
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 7c7991a6e..f498a3738 100644 --- a/core/equipment.h +++ b/core/equipment.h @@ -44,6 +44,7 @@ typedef struct #define MAX_TANK_INFO (100) #define MAX_WS_INFO (100) +extern int cylinderuse_from_text(const char *text); extern void add_cylinder_description(const cylinder_type_t *); extern void add_weightsystem_description(const weightsystem_t *); extern bool cylinder_nodata(const cylinder_t *cyl); |