aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatar Tim Segers <tsegers@pm.me>2022-10-13 23:39:46 +0200
committerGravatar Tim Segers <tsegers@pm.me>2022-10-13 23:39:46 +0200
commitcd4759ee3d43e5a3afcc6e60cc45c36d184cffa7 (patch)
treecf99f65a18250cda355e75f45e53221994a66004
parent879de8903e617d9e172a36045dc1b7b7ca4250c1 (diff)
downloadopendeco-cd4759ee3d43e5a3afcc6e60cc45c36d184cffa7.tar.gz
Make void explicit in print_planhead declaration
-rw-r--r--src/output.c2
-rw-r--r--src/output.h2
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);