diff options
author | Tim Segers <tsegers@pm.me> | 2022-10-22 21:50:20 +0200 |
---|---|---|
committer | Tim Segers <tsegers@pm.me> | 2022-10-22 21:50:20 +0200 |
commit | 5990826a3b7fd661b234c53d0739f68eb138b3cb (patch) | |
tree | d6dcd45b4bb347223a807daddcdb10b71a74b87f /src/output.c | |
parent | 2e54be8428e075663c632645382c6588bdec2e84 (diff) | |
download | opendeco-5990826a3b7fd661b234c53d0739f68eb138b3cb.tar.gz |
Remove const qualifier from non-pointer parameters
Diffstat (limited to 'src/output.c')
-rw-r--r-- | src/output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/output.c b/src/output.c index 56a78c2..52b45dd 100644 --- a/src/output.c +++ b/src/output.c @@ -6,7 +6,7 @@ #include "output.h" -void format_mm_ss(char *buf, const size_t buflen, const double time) +void format_mm_ss(char *buf, size_t buflen, double time) { double mm; double ss = round(modf(time, &mm) * 60); @@ -18,7 +18,7 @@ void format_mm_ss(char *buf, const size_t buflen, const double time) snprintf(buf, buflen, "%3i:%02i", (int) mm, (int) ss); } -void format_gas(char *buf, const size_t buflen, const gas_t *gas) +void format_gas(char *buf, size_t buflen, const gas_t *gas) { if (gas_o2(gas) == 21 && gas_he(gas) == 0) snprintf(buf, buflen, "Air"); @@ -59,7 +59,7 @@ void print_planhead(void) "EAD"); } -void print_planline(const wchar_t sign, const double depth, const double time, const double runtime, const gas_t *gas) +void print_planline(wchar_t sign, double depth, double time, double runtime, const gas_t *gas) { static char gasbuf[11]; static char runbuf[8]; |