cleanup: remove unused function is_default_dive_computer()
The last actual user was apparently removed back in 2013(!): 34db6dc2bea6173c070c9820a2e57a511b9ca0b1 Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
39ab754406
commit
ff6c1a34ad
@ -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;
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user