From 3c2dd7f7c6144a9b586269fcae35fe58a38f037d Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 26 Feb 2019 21:14:48 +0100 Subject: Cleanup: move get_divesite_idx() to divesite.c This function was defined in divelist.c, whereas it's better located in divesite.c. Move it. Signed-off-by: Berthold Stoeger --- core/divelist.h | 1 - 1 file changed, 1 deletion(-) (limited to 'core/divelist.h') diff --git a/core/divelist.h b/core/divelist.h index ae36de9db..31f92c718 100644 --- a/core/divelist.h +++ b/core/divelist.h @@ -34,7 +34,6 @@ extern int dive_table_get_insertion_index(struct dive_table *table, struct dive 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); extern void remove_dive_from_trip(struct dive *dive, struct trip_table *trip_table); extern dive_trip_t *alloc_trip(void); -- cgit v1.2.3-70-g09d2