diff options
author | 2019-03-10 20:04:47 +0100 | |
---|---|---|
committer | 2019-04-12 18:19:07 +0300 | |
commit | dc9427d16ad5cf9c3129295b49b601cbfbe5f078 (patch) | |
tree | 6310a8b13c7d5367d013f3755a462bc00008b8db /core/dive.h | |
parent | 8dcc33d8ab4081310d2e18b2c3d6c95141999698 (diff) | |
download | subsurface-dc9427d16ad5cf9c3129295b49b601cbfbe5f078.tar.gz |
Cleanup: rename unregister_trip() to remove_trip()
For consistency with remove_dive(). Moreover, swap parameter order
in remove_dive() so that both functions use the same parameter order.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h index 25df599e4..169b02e57 100644 --- a/core/dive.h +++ b/core/dive.h @@ -407,7 +407,7 @@ struct dive *unregister_dive(int idx); extern void delete_single_dive(int idx); extern void insert_trip(dive_trip_t *trip, struct trip_table *trip_table_arg); -extern void unregister_trip(dive_trip_t *trip, struct trip_table *trip_table_arg); +extern void remove_trip(dive_trip_t *trip, struct trip_table *trip_table_arg); extern void free_trip(dive_trip_t *trip); extern timestamp_t trip_date(const struct dive_trip *trip); |