aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/deco.h
diff options
context:
space:
mode:
authorGravatar Tim Segers <tsegers@pm.me>2022-10-22 21:50:20 +0200
committerGravatar Tim Segers <tsegers@pm.me>2022-10-22 21:50:20 +0200
commit5990826a3b7fd661b234c53d0739f68eb138b3cb (patch)
treed6dcd45b4bb347223a807daddcdb10b71a74b87f /src/deco.h
parent2e54be8428e075663c632645382c6588bdec2e84 (diff)
downloadopendeco-5990826a3b7fd661b234c53d0739f68eb138b3cb.tar.gz
Remove const qualifier from non-pointer parameters
Diffstat (limited to 'src/deco.h')
-rw-r--r--src/deco.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/deco.h b/src/deco.h
index cef35d4..35905ca 100644
--- a/src/deco.h
+++ b/src/deco.h
@@ -59,26 +59,25 @@ extern double END_MAX;
extern int LAST_STOP_AT_SIX;
/* functions */
-double bar_to_msw(const double bar);
-double msw_to_bar(const double msw);
-double abs_depth(const double gd);
-double gauge_depth(const double ad);
+double bar_to_msw(double bar);
+double msw_to_bar(double msw);
+double abs_depth(double gd);
+double gauge_depth(double ad);
-gas_t gas_new(const unsigned char o2, const unsigned char he, double mod);
+gas_t gas_new(unsigned char o2, unsigned char he, double mod);
int gas_equal(const gas_t *g1, const gas_t *g2);
unsigned char gas_o2(const gas_t *gas);
unsigned char gas_he(const gas_t *gas);
unsigned char gas_n2(const gas_t *gas);
double gas_mod(const gas_t *gas);
-double add_segment_ascdec(decostate_t *ds, const double dstart, const double dend, const double time,
- const gas_t *gas);
-double add_segment_const(decostate_t *ds, const double depth, const double time, const gas_t *gas);
-double get_gf(const decostate_t *ds, const double depth);
+double add_segment_ascdec(decostate_t *ds, double dstart, double dend, double time, const gas_t *gas);
+double add_segment_const(decostate_t *ds, double depth, double time, const gas_t *gas);
+double get_gf(const decostate_t *ds, double depth);
double ceiling(const decostate_t *ds, double gf);
double gf99(const decostate_t *ds, double depth);
-void init_decostate(decostate_t *ds, const unsigned char gflo, const unsigned char gfhi, const double ceil_multiple);
+void init_decostate(decostate_t *ds, unsigned char gflo, unsigned char gfhi, double ceil_multiple);
double ppO2(double depth, const gas_t *gas);
double end(double depth, const gas_t *gas);