diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-01-08 22:37:24 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-01-10 15:57:39 -0800 |
commit | 94a57d9a1d9b1d1eeb89b1ccbba27f4b677ff6ed (patch) | |
tree | 323a681ef6aab02e966d79b8d1cd28fbb31194da /core/profile.c | |
parent | 45ee3544d10aa5c85cb5a01998d9f92288af745e (diff) | |
download | subsurface-94a57d9a1d9b1d1eeb89b1ccbba27f4b677ff6ed.tar.gz |
cleanup: make calculate_deco_information() of static linkage
This function was not used outside of profile.c
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/profile.c')
-rw-r--r-- | core/profile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/profile.c b/core/profile.c index 48be68309..88753689e 100644 --- a/core/profile.c +++ b/core/profile.c @@ -991,7 +991,8 @@ static void calculate_ndl_tts(struct deco_state *ds, const struct dive *dive, st /* Let's try to do some deco calculations. */ -void calculate_deco_information(struct deco_state *ds, const struct deco_state *planner_ds, const struct dive *dive, const struct divecomputer *dc, struct plot_info *pi, bool print_mode) +static void calculate_deco_information(struct deco_state *ds, const struct deco_state *planner_ds, const struct dive *dive, + const struct divecomputer *dc, struct plot_info *pi, bool print_mode) { int i, count_iteration = 0; double surface_pressure = (dc->surface_pressure.mbar ? dc->surface_pressure.mbar : get_surface_pressure_in_mbar(dive, true)) / 1000.0; |