From f2494931e951c5596231538afabc3a9dddf6d1c5 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 25 Oct 2020 18:27:01 +0100 Subject: 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 --- core/dive.h | 1 - core/equipment.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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 { -- cgit v1.2.3-70-g09d2