diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-02-24 23:28:13 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-02-26 19:06:02 +0200 |
commit | cd5e17cf79c2f1eb896efd0436c103221de446ae (patch) | |
tree | 35617137ebf4886994d8eaf106f7e1ead97eccb0 /core/profile.c | |
parent | e2a6b96db8f7c73ad6fca71dc3d943deeda198da (diff) | |
download | subsurface-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/profile.c')
-rw-r--r-- | core/profile.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/profile.c b/core/profile.c index 373fb9640..4ea6d3a69 100644 --- a/core/profile.c +++ b/core/profile.c @@ -17,7 +17,7 @@ #include "libdivecomputer/parser.h" #include "libdivecomputer/version.h" #include "membuffer.h" -#include "qthelperfromc.h" +#include "qthelper.h" //#define DEBUG_GAS 1 @@ -30,8 +30,6 @@ unsigned int dc_number = 0; static struct plot_data *last_pi_entry_new = NULL; void populate_pressure_information(struct dive *, struct divecomputer *, struct plot_info *, int); -extern bool in_planner(); - #ifdef DEBUG_PI /* debugging tool - not normally used */ static void dump_pi(struct plot_info *pi) |