mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
1e34e19c6d
commit
7b06349be5
2 changed files with 0 additions and 12 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue