From 99d29a7838b9f0d9a55885924ba4a614e9cdc7ff Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 23 Dec 2018 10:08:44 +0100 Subject: Cleanup: remove unused parameter was_autogen In commit 6bf4120dbbf7be1b9267e0e86f3948b77870ea71 the trip-flags were replaced by a simple boolean. This made the was_autogen parameter to the remove_dive_from_trip() and unregister_dive_from_trip() functions unused. Remove these parameters. Signed-off-by: Berthold Stoeger --- core/divelist.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/divelist.h') diff --git a/core/divelist.h b/core/divelist.h index ce4943660..d926886b6 100644 --- a/core/divelist.h +++ b/core/divelist.h @@ -28,8 +28,8 @@ extern void add_single_dive(int idx, struct dive *dive); extern void get_dive_gas(const struct dive *dive, int *o2_p, int *he_p, int *o2low_p); extern int get_divenr(const struct dive *dive); extern int get_divesite_idx(const struct dive_site *ds); -extern struct dive_trip *unregister_dive_from_trip(struct dive *dive, short was_autogen); -extern void remove_dive_from_trip(struct dive *dive, short was_autogen); +extern struct dive_trip *unregister_dive_from_trip(struct dive *dive); +extern void remove_dive_from_trip(struct dive *dive); extern dive_trip_t *alloc_trip(void); extern dive_trip_t *create_trip_from_dive(struct dive *dive); extern dive_trip_t *create_and_hookup_trip_from_dive(struct dive *dive); -- cgit v1.2.3-70-g09d2