diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/profile.c | 3 | ||||
-rw-r--r-- | core/profile.h | 1 |
2 files changed, 2 insertions, 2 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; diff --git a/core/profile.h b/core/profile.h index 7158861bd..e8d899f97 100644 --- a/core/profile.h +++ b/core/profile.h @@ -83,7 +83,6 @@ struct plot_data { extern void compare_samples(struct plot_info *p1, int idx1, int idx2, char *buf, int bufsize, bool sum); extern void init_plot_info(struct plot_info *pi); extern void create_plot_info_new(struct dive *dive, struct divecomputer *dc, struct plot_info *pi, bool fast, const struct deco_state *planner_ds); -extern void calculate_deco_information(struct deco_state *ds, const struct deco_state *planner_de, const struct dive *dive, const struct divecomputer *dc, struct plot_info *pi, bool print_mode); extern int get_plot_details_new(const struct plot_info *pi, int time, struct membuffer *); extern void free_plot_info_data(struct plot_info *pi); |