diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-02-26 21:14:48 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-02-28 07:27:10 -0800 |
commit | 3c2dd7f7c6144a9b586269fcae35fe58a38f037d (patch) | |
tree | fd0c9430625d6b314a69c5170b0b2de3e9df956d /core/divelist.h | |
parent | 9c87c0dafd5d9946261787bcbb2e6311b5e5f444 (diff) | |
download | subsurface-3c2dd7f7c6144a9b586269fcae35fe58a38f037d.tar.gz |
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>
Diffstat (limited to 'core/divelist.h')
-rw-r--r-- | core/divelist.h | 1 |
1 files changed, 0 insertions, 1 deletions
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); |