summaryrefslogtreecommitdiffstats
path: root/core/parse-xml.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/parse-xml.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/parse-xml.c')
-rw-r--r--core/parse-xml.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c
index d211921de..6564bdefd 100644
--- a/core/parse-xml.c
+++ b/core/parse-xml.c
@@ -1102,9 +1102,6 @@ static void gps_location(char *buffer, struct dive_site *ds)
ds->longitude = parse_degrees(end, &end);
}
-/* this is in qthelper.cpp, so including the .h file is a pain */
-extern const char *printGPSCoords(int lat, int lon);
-
static void gps_in_dive(char *buffer, struct dive *dive)
{
char *end;