summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-03 22:04:34 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commit7c64822b9b73ef76e2310ff2931f76e29899535e (patch)
tree52a19fb1625c34dda07f7a551a38fa9489902d01 /core
parent31291b1c56bf418732cf6ef52550aada492eff9b (diff)
downloadsubsurface-7c64822b9b73ef76e2310ff2931f76e29899535e.tar.gz
Cleanup: remove "sha1.h" include in "dive.h"
No point in pulling that in for all users of "dive.h" Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core')
-rw-r--r--core/cochran.c1
-rw-r--r--core/dive.h1
-rw-r--r--core/git-access.c1
-rw-r--r--core/libdivecomputer.c1
4 files changed, 3 insertions, 1 deletions
diff --git a/core/cochran.c b/core/cochran.c
index 5f7955fa5..e46f95b35 100644
--- a/core/cochran.c
+++ b/core/cochran.c
@@ -16,6 +16,7 @@
#include "dive.h"
#include "file.h"
#include "units.h"
+#include "sha1.h"
#include "gettext.h"
#include "cochran.h"
#include "divelist.h"
diff --git a/core/dive.h b/core/dive.h
index 03d6fc2df..4760305ed 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -18,7 +18,6 @@
#include <libxslt/transform.h>
#include <libxslt/xsltutils.h>
-#include "sha1.h"
#include "units.h"
#ifdef __cplusplus
diff --git a/core/git-access.c b/core/git-access.c
index 38fba9a5f..f4f040ab9 100644
--- a/core/git-access.c
+++ b/core/git-access.c
@@ -24,6 +24,7 @@
#include "qthelper.h"
#include "git-access.h"
#include "gettext.h"
+#include "sha1.h"
bool is_subsurface_cloud = false;
diff --git a/core/libdivecomputer.c b/core/libdivecomputer.c
index e391bcbfb..9a2991bc3 100644
--- a/core/libdivecomputer.c
+++ b/core/libdivecomputer.c
@@ -19,6 +19,7 @@
#include "device.h"
#include "divelist.h"
#include "display.h"
+#include "sha1.h"
#include <libdivecomputer/version.h>
#include <libdivecomputer/usbhid.h>