aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/deco.h1
-rw-r--r--core/planner.c11
2 files changed, 0 insertions, 12 deletions
diff --git a/core/deco.h b/core/deco.h
index ed1135abb..4bdc5840d 100644
--- a/core/deco.h
+++ b/core/deco.h
@@ -61,7 +61,6 @@ extern double tissue_tolerance_calc(struct deco_state *ds, const struct dive *di
extern void calc_crushing_pressure(struct deco_state *ds, double pressure);
extern void vpmb_start_gradient(struct deco_state *ds);
extern void clear_vpmb_state(struct deco_state *ds);
-extern void printdecotable(struct decostop *table);
extern void add_segment(struct deco_state *ds, double pressure, struct gasmix gasmix, int period_in_seconds, int setpoint, enum divemode_t divemode, int sac);
extern double regressiona();
diff --git a/core/planner.c b/core/planner.c
index 3fcaf9826..0743a6a52 100644
--- a/core/planner.c
+++ b/core/planner.c
@@ -624,17 +624,6 @@ static int wait_until(struct deco_state *ds, struct dive *dive, int clock, int m
return wait_until(ds, dive, clock, min, leap / 2, stepsize, depth, target_depth, avg_depth, bottom_time, gasmix, po2, surface_pressure, divemode);
}
-// Work out the stops. Return value is if there were any mandatory stops.
-
-
-void printdecotable(struct decostop *table)
-{
- while (table->depth) {
- printf("depth=%d time=%d\n", table->depth, table->time);
- ++table;
- }
-}
-
static void average_max_depth(struct diveplan *dive, int *avg_depth, int *max_depth)
{
int integral = 0;