aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/opendeco.c
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/opendeco.c
parent2e54be8428e075663c632645382c6588bdec2e84 (diff)
downloadopendeco-5990826a3b7fd661b234c53d0739f68eb138b3cb.tar.gz
Remove const qualifier from non-pointer parameters
Diffstat (limited to 'src/opendeco.c')
-rw-r--r--src/opendeco.c4
1 files changed, 2 insertions, 2 deletions
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;