From 0e196310f9cda2ccca27e9cf96186639b5658249 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 25 Oct 2020 13:28:55 +0100 Subject: cleanup: split out divecomputer functions from dive.c Since dive.c is so huge, split out divecomputer-related functions into divecomputer.[c|h], sample.[c|h] and extradata.[c|h]. This does not give huge compile time improvements, since struct dive contains a struct divecomputer and therefore dive.h has to include divecomputer.h. However, it make things distinctly more clear. Signed-off-by: Berthold Stoeger --- core/parse.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'core/parse.h') diff --git a/core/parse.h b/core/parse.h index 224403585..a46663c50 100644 --- a/core/parse.h +++ b/core/parse.h @@ -5,11 +5,13 @@ #define MAX_EVENT_NAME 128 #include "event.h" -#include "picture.h" -#include "dive.h" // for "struct extra_data" +#include "equipment.h" // for cylinder_t +#include "extradata.h" #include "filterpreset.h" +#include "picture.h" #include +#include struct xml_params; -- cgit v1.2.3-70-g09d2