mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: constify init_decompression()
This function initializes decompression data from a dive. The dive is not modified, therefore make it const. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
5e1dcb0655
commit
ad1e57dd67
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ extern struct dive_table dive_table;
|
|||
|
||||
extern void sort_dive_table(struct dive_table *table);
|
||||
extern void update_cylinder_related_info(struct dive *);
|
||||
extern int init_decompression(struct deco_state *ds, struct dive *dive);
|
||||
extern int init_decompression(struct deco_state *ds, const struct dive *dive);
|
||||
|
||||
/* divelist core logic functions */
|
||||
extern void process_loaded_dives();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue