From 9c70261c0e294d46d62d99725a1ae9ddc01eb1cf Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 1 May 2020 14:07:59 +0200 Subject: cleanup: move declaration of utc_mk* functions to new subsurface-time.h header No point in slurping in all of dive.h for translation units that only want to do some time manipulation without ever touching a dive. Don't call the header "time.h", because we don't want to end up in a confusion with the system header of the same name. Signed-off-by: Berthold Stoeger --- backend-shared/exportfuncs.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'backend-shared') diff --git a/backend-shared/exportfuncs.cpp b/backend-shared/exportfuncs.cpp index 38fd24942..a8ba7ead4 100644 --- a/backend-shared/exportfuncs.cpp +++ b/backend-shared/exportfuncs.cpp @@ -7,6 +7,7 @@ #include "core/divesite.h" #include "core/gettextfromc.h" #include "core/tag.h" +#include "core/subsurface-time.h" #include "core/file.h" #include "core/errorhelper.h" #include "core/divefilter.h" -- cgit v1.2.3-70-g09d2