summaryrefslogtreecommitdiffstats
path: root/core/load-git.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/load-git.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/load-git.c')
-rw-r--r--core/load-git.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/load-git.c b/core/load-git.c
index ef28498f2..cfb4a721b 100644
--- a/core/load-git.c
+++ b/core/load-git.c
@@ -24,7 +24,7 @@
#include "device.h"
#include "membuffer.h"
#include "git-access.h"
-#include "qthelperfromc.h"
+#include "qthelper.h"
const char *saved_git_id = NULL;
@@ -173,9 +173,6 @@ static int get_index(const char *line)
static int get_hex(const char *line)
{ return strtoul(line, NULL, 16); }
-/* this is in qthelper.cpp, so including the .h file is a pain */
-extern const char *printGPSCoords(int lat, int lon);
-
static void parse_dive_gps(char *line, struct membuffer *str, void *_dive)
{
(void) str;