summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/device.cpp5
-rw-r--r--core/display.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/core/device.cpp b/core/device.cpp
index b4c78abe5..5b59ce74d 100644
--- a/core/device.cpp
+++ b/core/device.cpp
@@ -317,11 +317,6 @@ extern "C" void call_for_each_dc (void *f, void (*callback)(void *, const char *
}
}
-extern "C" int is_default_dive_computer(const char *vendor, const char *product)
-{
- return qPrefDiveComputer::vendor() == vendor && qPrefDiveComputer::product() == product;
-}
-
extern "C" int is_default_dive_computer_device(const char *name)
{
return qPrefDiveComputer::device() == name;
diff --git a/core/display.h b/core/display.h
index cdeac9961..8fbe34261 100644
--- a/core/display.h
+++ b/core/display.h
@@ -30,7 +30,6 @@ extern struct divecomputer *select_dc(struct dive *);
extern unsigned int dc_number;
extern int is_default_dive_computer_device(const char *);
-extern int is_default_dive_computer(const char *, const char *);
typedef void (*device_callback_t)(const char *name, void *userdata);