summaryrefslogtreecommitdiffstats
path: root/core/device.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-07 20:22:13 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-16 14:26:37 -0700
commit7b06349be55935be9a09310a5c0bba50e4585d35 (patch)
treedfa8d35a1c6f31e3e3bfa5445eb950ebe76083a2 /core/device.h
parent1e34e19c6d067b469ad915a39561ccf5a831ec22 (diff)
downloadsubsurface-7b06349be55935be9a09310a5c0bba50e4585d35.tar.gz
core: remove call_for_each_dc()
The core now loops over the devices directly - no need for this callback. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/device.h')
-rw-r--r--core/device.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/device.h b/core/device.h
index 623014b21..e145ce7e2 100644
--- a/core/device.h
+++ b/core/device.h
@@ -22,8 +22,6 @@ extern void set_dc_nickname(struct dive *dive);
extern void create_device_node(const char *model, uint32_t deviceid, const char *serial, const char *firmware, const char *nickname);
extern int nr_devices(const struct device_table *table);
extern const struct device *get_device(const struct device_table *table, int i);
-extern void call_for_each_dc(void *f, void (*callback)(void *, const char *, uint32_t,
- const char *, const char *, const char *), bool select_only);
extern void clear_device_nodes();
const char *get_dc_nickname(const struct divecomputer *dc);
extern bool device_used_by_selected_dive(const struct device *dev);