summaryrefslogtreecommitdiffstats
path: root/core/deco.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-02-24 23:28:13 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-02-26 19:06:02 +0200
commitcd5e17cf79c2f1eb896efd0436c103221de446ae (patch)
tree35617137ebf4886994d8eaf106f7e1ead97eccb0 /core/deco.c
parente2a6b96db8f7c73ad6fca71dc3d943deeda198da (diff)
downloadsubsurface-cd5e17cf79c2f1eb896efd0436c103221de446ae.tar.gz
Cleanup: Unify qthelper.h and qthelperfromc.h
Since all qt-helpers are defined in qthelper.cpp, there seems to be no reason to have two include files. By unifying the two files, duplication and inconsistencies are removed. The C++-only part is simply compiled away with #ifdefs. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/deco.c')
-rw-r--r--core/deco.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/deco.c b/core/deco.c
index 5c8b55e24..9943d470f 100644
--- a/core/deco.c
+++ b/core/deco.c
@@ -22,7 +22,7 @@
#include "dive.h"
#include <assert.h>
#include "core/planner.h"
-#include "qthelperfromc.h"
+#include "qthelper.h"
#define cube(x) (x * x * x)
@@ -31,8 +31,6 @@
// was introduced in v4.6.3 this can be set to a value of 1.0 which means no correction.
#define subsurface_conservatism_factor 1.0
-
-extern bool in_planner();
extern int plot_depth;
//! Option structure for Buehlmann decompression.