diff options
author | Tim Segers <tsegers@pm.me> | 2022-10-13 23:39:46 +0200 |
---|---|---|
committer | Tim Segers <tsegers@pm.me> | 2022-10-13 23:39:46 +0200 |
commit | cd4759ee3d43e5a3afcc6e60cc45c36d184cffa7 (patch) | |
tree | cf99f65a18250cda355e75f45e53221994a66004 /src | |
parent | 879de8903e617d9e172a36045dc1b7b7ca4250c1 (diff) | |
download | opendeco-cd4759ee3d43e5a3afcc6e60cc45c36d184cffa7.tar.gz |
Make void explicit in print_planhead declaration
Diffstat (limited to 'src')
-rw-r--r-- | src/output.c | 2 | ||||
-rw-r--r-- | src/output.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/output.c b/src/output.c index bf9a4d7..56a78c2 100644 --- a/src/output.c +++ b/src/output.c @@ -52,7 +52,7 @@ void scan_gas(gas_t *gas, char *str) *gas = gas_new(o2, he, MOD_AUTO); } -void print_planhead() +void print_planhead(void) { wprintf(L"DIVE PLAN\n\n"); wprintf(L" %-1s %-5s %-8s %-7s %1s %-9s %-4s %-3s\n", "", "Depth", "Duration", "Runtime", "", "Gas", "pO2", diff --git a/src/output.h b/src/output.h index 5cc3adc..017e319 100644 --- a/src/output.h +++ b/src/output.h @@ -13,7 +13,7 @@ #define SWI 0x21BB /* Clockwise Open Circle Arrow */ /* functions */ -void print_planhead(); +void print_planhead(void); void print_planline(const wchar_t sign, const double depth, const double time, const double runtime, const gas_t *gas); void print_planfoot(const decostate_t *ds); |