summaryrefslogtreecommitdiffstats
path: root/core/save-xml.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-08-05 20:07:10 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-08-08 16:26:31 -0700
commit594d1d3514f91221884bdc31f29a09e8f325f1e8 (patch)
tree13b7d02568a0b332857935cb69bfb545fa13f966 /core/save-xml.c
parent5da09a21bba0b3d8979d6b8e70baf52b0316242f (diff)
downloadsubsurface-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/save-xml.c')
-rw-r--r--core/save-xml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/save-xml.c b/core/save-xml.c
index c9e997f01..e0a09df16 100644
--- a/core/save-xml.c
+++ b/core/save-xml.c
@@ -18,6 +18,7 @@
#include "subsurface-string.h"
#include "trip.h"
#include "device.h"
+#include "file.h"
#include "membuffer.h"
#include "strndup.h"
#include "git-access.h"