summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-08 08:13:08 -0600
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-12-08 16:29:49 +0100
commitef8b2e6bb75e79b3f600980e8b7d89389df18970 (patch)
tree45284547c5173f9e87948bccdc0c8015746e04e7
parent03b02c935211afd978a928a3d2882e6c69de0b43 (diff)
downloadsubsurface-ef8b2e6bb75e79b3f600980e8b7d89389df18970.tar.gz
Cleanup: rename file to avoid confusion
Depending on the tooling, both divesite.c and divesite.cpp would compile into divesite.o. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--core/CMakeLists.txt2
-rw-r--r--core/divesite-helper.cpp (renamed from core/divesite.cpp)0
-rw-r--r--packaging/ios/Subsurface-mobile/Subsurface-mobile.pro2
3 files changed, 2 insertions, 2 deletions
diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
index 4bf9f9bf6..87b276872 100644
--- a/core/CMakeLists.txt
+++ b/core/CMakeLists.txt
@@ -37,7 +37,7 @@ set(SUBSURFACE_CORE_LIB_SRCS
device.c
dive.c
divesite.c
- divesite.cpp
+ divesite-helper.cpp
divelist.c
equipment.c
errorhelper.c
diff --git a/core/divesite.cpp b/core/divesite-helper.cpp
index 56030afd1..56030afd1 100644
--- a/core/divesite.cpp
+++ b/core/divesite-helper.cpp
diff --git a/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro b/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro
index f8d4d9738..5ab9f5ae5 100644
--- a/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro
+++ b/packaging/ios/Subsurface-mobile/Subsurface-mobile.pro
@@ -23,7 +23,7 @@ SOURCES += ../../../subsurface-mobile-main.cpp \
../../../core/configuredivecomputer.cpp \
../../../core/divecomputer.cpp \
../../../core/divelogexportlogic.cpp \
- ../../../core/divesite.cpp \
+ ../../../core/divesite-helper.cpp \
../../../core/divesitehelpers.cpp \
../../../core/errorhelper.c \
../../../core/exif.cpp \