mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: move formatting of gas type to string-format.cpp
Since the only caller was C++ code, this can be done in C++ code, which removes memory-management headaches. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
468c1d8d61
commit
264adacba1
5 changed files with 26 additions and 37 deletions
|
@ -44,7 +44,6 @@ extern void process_imported_dives(struct dive_table *import_table, struct trip_
|
|||
struct dive_table *dives_to_add, struct dive_table *dives_to_remove,
|
||||
struct trip_table *trips_to_add, struct dive_site_table *sites_to_add,
|
||||
struct device_table *devices_to_add);
|
||||
extern char *get_dive_gas_string(const struct dive *dive);
|
||||
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue