From 7c64822b9b73ef76e2310ff2931f76e29899535e Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 3 Mar 2019 22:04:34 +0100 Subject: [PATCH] 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 --- core/cochran.c | 1 + core/dive.h | 1 - core/git-access.c | 1 + core/libdivecomputer.c | 1 + 4 files changed, 3 insertions(+), 1 deletion(-) 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 #include -#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 #include