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