From 5990826a3b7fd661b234c53d0739f68eb138b3cb Mon Sep 17 00:00:00 2001 From: Tim Segers Date: Sat, 22 Oct 2022 21:50:20 +0200 Subject: Remove const qualifier from non-pointer parameters --- src/opendeco.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/opendeco.c') diff --git a/src/opendeco.c b/src/opendeco.c index 8c3f52c..6b49b97 100644 --- a/src/opendeco.c +++ b/src/opendeco.c @@ -139,7 +139,7 @@ static struct gas_usage { double usage; } gas_usage[10]; -int register_gas_use(const double depth, const double time, const gas_t *gas, const double rmv) +int register_gas_use(double depth, double time, const gas_t *gas, double rmv) { double usage = depth * time * rmv; @@ -174,7 +174,7 @@ void print_gas_use(void) } } -void print_segment_callback_fn(const decostate_t *ds, const waypoint_t wp, segtype_t type, void *arg) +void print_segment_callback_fn(const decostate_t *ds, waypoint_t wp, segtype_t type, void *arg) { static double last_depth; static double runtime; -- cgit v1.2.3-70-g09d2