aboutsummaryrefslogtreecommitdiffstats
path: root/core/device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/device.cpp')
-rw-r--r--core/device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/device.cpp b/core/device.cpp
index 3d3a476d9..bd1d75416 100644
--- a/core/device.cpp
+++ b/core/device.cpp
@@ -342,12 +342,12 @@ extern "C" int is_default_dive_computer_device(const char *name)
return qPrefDiveComputer::device() == name;
}
-extern "C" void set_dc_nickname(struct dive *dive, struct device_table *device_table)
+extern "C" void add_devices_of_dive(const struct dive *dive, struct device_table *device_table)
{
if (!dive)
return;
- struct divecomputer *dc;
+ const struct divecomputer *dc;
for_each_dc (dive, dc) {
if (!empty_string(dc->model) && dc->deviceid &&