diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-03-10 20:28:50 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 18:19:07 +0300 |
commit | efb770c979a5367a6f9616cc15ed5575eb7cd51f (patch) | |
tree | daa724a675a588d0f284d5b84aa2ca5b7e4c06af /core/dive.h | |
parent | dc9427d16ad5cf9c3129295b49b601cbfbe5f078 (diff) | |
download | subsurface-efb770c979a5367a6f9616cc15ed5575eb7cd51f.tar.gz |
Cleanup: autogenerate remove_dive() and remove_trip()
The other dive- and trip-table functions were already autogenerated.
Let's do the same for these two.
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 169b02e57..2a66130b1 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 remove_trip(dive_trip_t *trip, struct trip_table *trip_table_arg); +extern void remove_trip(const 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); |