diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-08-05 20:07:10 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-08-08 16:26:31 -0700 |
commit | 594d1d3514f91221884bdc31f29a09e8f325f1e8 (patch) | |
tree | 13b7d02568a0b332857935cb69bfb545fa13f966 /core/configuredivecomputer.cpp | |
parent | 5da09a21bba0b3d8979d6b8e70baf52b0316242f (diff) | |
download | subsurface-594d1d3514f91221884bdc31f29a09e8f325f1e8.tar.gz |
Cleanup: move file-related function declarations to file.h
A number of architecture-dependent functions were declared in
dive.h. Move them to file.h so that not all file-manipulating
translation units have to include dive.h. This is a small step
in avoiding mass-recompilation on every change to dive.h
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/configuredivecomputer.cpp')
-rw-r--r-- | core/configuredivecomputer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/configuredivecomputer.cpp b/core/configuredivecomputer.cpp index 31811c91b..7574ceb6b 100644 --- a/core/configuredivecomputer.cpp +++ b/core/configuredivecomputer.cpp @@ -8,7 +8,7 @@ #include <libxslt/transform.h> #include <QStringList> #include <QXmlStreamWriter> -#include "core/dive.h" // for subsurface_fopen() +#include "core/file.h" #include "core/errorhelper.h" #include "core/version.h" |