diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-25 13:57:18 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-25 13:59:52 -0700 |
commit | 2b86fe84f9b2ac1edae47ff1dd8e5d34373ddff5 (patch) | |
tree | 5b7240a872c7169d1d97a58386d96589bb9d3f71 /core/subsurfacestartup.c | |
parent | 17d21dbf40782b6eea58d6a6dffa38a5674cc0e0 (diff) | |
download | subsurface-2b86fe84f9b2ac1edae47ff1dd8e5d34373ddff5.tar.gz |
cleanup: move application flags to core/subsurfacehelper.h
These flags are not dive-related, therefore move their declaration
to the appropriate header file. Likewise, move their definition
from parse-xml.c to subsurfacehelper.c
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/subsurfacestartup.c')
-rw-r--r-- | core/subsurfacestartup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/subsurfacestartup.c b/core/subsurfacestartup.c index c5fb7b611..bdb908ea5 100644 --- a/core/subsurfacestartup.c +++ b/core/subsurfacestartup.c @@ -5,7 +5,6 @@ #include <stdbool.h> #include <string.h> #include "errorhelper.h" -#include "dive.h" // for quit and force_root #include "gettext.h" #include "qthelper.h" #include "git-access.h" @@ -103,7 +102,7 @@ struct preferences default_prefs = { .extract_video_thumbnails_position = 20, // The first fifth seems like a reasonable place }; -int ignore_bt; +int quit, force_root, ignore_bt; #ifdef SUBSURFACE_MOBILE_DESKTOP char *testqml = NULL; #endif |