summaryrefslogtreecommitdiffstats
path: root/core/import-csv.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-25 13:28:55 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-25 13:59:52 -0700
commit0e196310f9cda2ccca27e9cf96186639b5658249 (patch)
treef53ee1f276774aa85b6bbe7015a302aa33339eb6 /core/import-csv.c
parent4aa571d5a09e7c114633dc046bb8a61044a05d63 (diff)
downloadsubsurface-0e196310f9cda2ccca27e9cf96186639b5658249.tar.gz
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/import-csv.c')
-rw-r--r--core/import-csv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/import-csv.c b/core/import-csv.c
index dda4b8b79..5bdcfd989 100644
--- a/core/import-csv.c
+++ b/core/import-csv.c
@@ -2,13 +2,14 @@
#include <errno.h>
#include <libdivecomputer/parser.h>
+#include "dive.h"
#include "errorhelper.h"
#include "ssrf.h"
#include "subsurface-string.h"
#include "divelist.h"
#include "file.h"
#include "parse.h"
-#include "subsurface-time.h"
+#include "sample.h"
#include "divelist.h"
#include "gettext.h"
#include "import-csv.h"