diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-25 18:27:01 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-25 13:59:52 -0700 |
commit | f2494931e951c5596231538afabc3a9dddf6d1c5 (patch) | |
tree | 80320cc31841abf9d48c21101073a29b5cb3a668 | |
parent | df4c0ed4031aff719a221481e45b143a292a6f04 (diff) | |
download | subsurface-f2494931e951c5596231538afabc3a9dddf6d1c5.tar.gz |
cleanup: move cylinder_use_text declaration to equipment.h
This is unrelated to struct dive and also wasn't defined in
dive.c
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
-rw-r--r-- | core/dive.h | 1 | ||||
-rw-r--r-- | core/equipment.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h index 490d228c7..88f818e81 100644 --- a/core/dive.h +++ b/core/dive.h @@ -17,7 +17,6 @@ extern "C" { extern int last_xml_version; -extern const char *cylinderuse_text[NUM_GAS_USE]; extern const char *divemode_text_ui[]; extern const char *divemode_text[]; diff --git a/core/equipment.h b/core/equipment.h index 463040b6a..96cc43f1f 100644 --- a/core/equipment.h +++ b/core/equipment.h @@ -11,6 +11,7 @@ extern "C" { struct dive; enum cylinderuse {OC_GAS, DILUENT, OXYGEN, NOT_USED, NUM_GAS_USE}; // The different uses for cylinders +extern const char *cylinderuse_text[NUM_GAS_USE]; typedef struct { |