diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-06-04 21:25:42 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-06-19 13:11:10 -0700 |
commit | d129085b59df6e84f0415c347e8425c13b5ca868 (patch) | |
tree | 6b802faca507b1c600b7156af135cfaa49dc1efd /core/divelist.h | |
parent | 3df32044ee46caf518b23cc6359f98501f7ca961 (diff) | |
download | subsurface-d129085b59df6e84f0415c347e8425c13b5ca868.tar.gz |
Cleanup: use add_to_dive_table() in record_dive_to_table()
This was reimplementing functionality that was already there.
Simply call the already existing function.
Thus, we don't have to export the grow_dive_table function.
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 f363cc336..75f096feb 100644 --- a/core/divelist.h +++ b/core/divelist.h @@ -31,7 +31,6 @@ extern void process_imported_dives(struct dive_table *import_table, struct trip_ struct trip_table *trips_to_add, struct dive_site_table *sites_to_add); extern char *get_dive_gas_string(const struct dive *dive); -extern struct dive **grow_dive_table(struct dive_table *table); extern int dive_table_get_insertion_index(struct dive_table *table, struct dive *dive); extern void add_to_dive_table(struct dive_table *table, int idx, struct dive *dive); extern void append_dive(struct dive *dive); |