diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-03-03 22:29:40 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 18:19:07 +0300 |
commit | f3e1187e65df8e3fdd989cbee19ee2b9472c6735 (patch) | |
tree | 8127944c08d889184c980b1dfd94d611e09357f5 /desktop-widgets/subsurfacewebservices.cpp | |
parent | 7c64822b9b73ef76e2310ff2931f76e29899535e (diff) | |
download | subsurface-f3e1187e65df8e3fdd989cbee19ee2b9472c6735.tar.gz |
Cleanup: move parse-function declarations out of "dive.h"
Move the declaration of these functions to "file.h" and "parse.h"
according to the translation unit they are defined in. Thus, not
all users of "dive.h" have to suck in "sqlite3.h".
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/subsurfacewebservices.cpp')
-rw-r--r-- | desktop-widgets/subsurfacewebservices.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop-widgets/subsurfacewebservices.cpp b/desktop-widgets/subsurfacewebservices.cpp index 87db7947c..e2c787990 100644 --- a/desktop-widgets/subsurfacewebservices.cpp +++ b/desktop-widgets/subsurfacewebservices.cpp @@ -7,11 +7,11 @@ #include "desktop-widgets/command.h" #include "desktop-widgets/usersurvey.h" #include "core/divelist.h" +#include "core/file.h" #include "desktop-widgets/mapwidget.h" #include "desktop-widgets/tab-widgets/maintab.h" #include "core/display.h" #include "core/membuffer.h" -#include <errno.h> #include "core/cloudstorage.h" #include "core/subsurface-string.h" @@ -23,6 +23,7 @@ #include <qdesktopservices.h> #include <QShortcut> #include <QDebug> +#include <errno.h> #ifdef Q_OS_UNIX #include <unistd.h> // for dup(2) |