From cd5e17cf79c2f1eb896efd0436c103221de446ae Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sat, 24 Feb 2018 23:28:13 +0100 Subject: 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 --- core/deco.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'core/deco.c') 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 #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. -- cgit v1.2.3-70-g09d2