From ee839bf68618fc27f96b04291912c8af09e944b2 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 6 Feb 2020 22:41:36 +0100 Subject: [PATCH] Cleanup: only use necessary includes in exportfuncs.h Forward declare if possible. Signed-off-by: Berthold Stoeger --- backend-shared/exportfuncs.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend-shared/exportfuncs.h b/backend-shared/exportfuncs.h index 1b888b19f..ebd2b8fcb 100644 --- a/backend-shared/exportfuncs.h +++ b/backend-shared/exportfuncs.h @@ -2,9 +2,10 @@ #ifndef EXPORTFUNCS_H #define EXPORTFUNCS_H -#include +#include #include -#include "core/dive.h" + +struct dive_site; void exportProfile(QString filename, const bool selected_only); void export_TeX(const char *filename, const bool selected_only, bool plain);