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/parse-xml.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'core/parse-xml.c') 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; -- cgit v1.2.3-70-g09d2