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 --- tests/testparse.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/testparse.cpp b/tests/testparse.cpp index c0ffaeb36..1a655f4e4 100644 --- a/tests/testparse.cpp +++ b/tests/testparse.cpp @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include "testparse.h" #include "core/device.h" +#include "core/dive.h" #include "core/divesite.h" #include "core/errorhelper.h" #include "core/trip.h" -- cgit v1.2.3-70-g09d2