mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: rename clear_device_nodes() to clear_device_table()
For consistency with all the other clear_*_table functions (dive, trip, dive_site, ...) Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
ad608e48f5
commit
c046742288
3 changed files with 3 additions and 3 deletions
|
@ -285,7 +285,7 @@ extern "C" void create_device_node(struct device_table *device_table, const char
|
|||
addDC(device_table->devices, model ?: "", deviceid, nickname ?: "", serial ?: "", firmware ?: "");
|
||||
}
|
||||
|
||||
extern "C" void clear_device_nodes(struct device_table *device_table)
|
||||
extern "C" void clear_device_table(struct device_table *device_table)
|
||||
{
|
||||
device_table->devices.clear();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue