summaryrefslogtreecommitdiffstats
path: root/core/divelist.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-17 13:28:05 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-17 09:04:20 -0700
commitc0467422888602b53d673d49a955d1d878cb24d5 (patch)
tree16c431b0e604281833c66c5cb314b37983490a55 /core/divelist.c
parentad608e48f5759059c3115f566078ff3fca350252 (diff)
downloadsubsurface-c0467422888602b53d673d49a955d1d878cb24d5.tar.gz
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>
Diffstat (limited to 'core/divelist.c')
-rw-r--r--core/divelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/divelist.c b/core/divelist.c
index c76ec7b25..5a47e3c44 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -1376,7 +1376,7 @@ void clear_dive_file_data()
}
clear_dive(&displayed_dive);
- clear_device_nodes(&device_table);
+ clear_device_table(&device_table);
clear_events();
clear_filter_presets();