mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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 <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
9c87c0dafd
commit
3c2dd7f7c6
4 changed files with 14 additions and 14 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue