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>
This commit is contained in:
Berthold Stoeger 2019-07-15 22:16:56 +02:00 committed by Dirk Hohndel
parent 342d04631e
commit b862e028c6
4 changed files with 15 additions and 15 deletions

View file

@ -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);