diff options
Diffstat (limited to 'subsurface-core/dive.c')
-rw-r--r-- | subsurface-core/dive.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/subsurface-core/dive.c b/subsurface-core/dive.c index 85ad3f597..b7beadce5 100644 --- a/subsurface-core/dive.c +++ b/subsurface-core/dive.c @@ -856,7 +856,7 @@ static void update_min_max_temperatures(struct dive *dive, temperature_t tempera * THIS IS A ROUGH APPROXIMATION! The real numbers will * depend on the exact gas mix and temperature. */ -double surface_volume_multiplier(pressure_t pressure) +static double surface_volume_multiplier(pressure_t pressure) { double bar = pressure.mbar / 1000.0; @@ -870,11 +870,6 @@ int gas_volume(cylinder_t *cyl, pressure_t p) return cyl->type.size.mliter * surface_volume_multiplier(p); } -int wet_volume(double cuft, pressure_t p) -{ - return cuft_to_l(cuft) * 1000 / surface_volume_multiplier(p); -} - /* * If the cylinder tank pressures are within half a bar * (about 8 PSI) of the sample pressures, we consider it |