summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dimension/platform.c2
-rw-r--r--tests/libdimension/cxx.cpp2
-rw-r--r--tests/libdimension/list.c2
-rw-r--r--tests/libdimension/polynomial.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/dimension/platform.c b/dimension/platform.c
index f926ea7..9de4a82 100644
--- a/dimension/platform.c
+++ b/dimension/platform.c
@@ -26,7 +26,7 @@
#endif
unsigned int
-dmnsn_terminal_width()
+dmnsn_terminal_width(void)
{
#if DMNSN_TIOCGWINSZ
struct winsize ws;
diff --git a/tests/libdimension/cxx.cpp b/tests/libdimension/cxx.cpp
index f38831a..2f1e3be 100644
--- a/tests/libdimension/cxx.cpp
+++ b/tests/libdimension/cxx.cpp
@@ -24,7 +24,7 @@
* Ensure that dimension.h can be included in a C++ program and behave properly.
*/
int
-main()
+main(void)
{
/* Make sure we can to bit-ops on this enum type */
dmnsn_quality quality = DMNSN_RENDER_PIGMENT | DMNSN_RENDER_LIGHTS;
diff --git a/tests/libdimension/list.c b/tests/libdimension/list.c
index 5301abf..0af2cc0 100644
--- a/tests/libdimension/list.c
+++ b/tests/libdimension/list.c
@@ -38,7 +38,7 @@ dmnsn_comparator(const dmnsn_list_iterator *i, const dmnsn_list_iterator *j)
}
int
-main()
+main(void)
{
/* Set the resilience low for tests */
dmnsn_set_resilience(DMNSN_SEVERITY_LOW);
diff --git a/tests/libdimension/polynomial.c b/tests/libdimension/polynomial.c
index b04adf7..db3b8d0 100644
--- a/tests/libdimension/polynomial.c
+++ b/tests/libdimension/polynomial.c
@@ -26,7 +26,7 @@
#include <stdio.h>
int
-main()
+main(void)
{
/* Set the resilience low for tests */
dmnsn_set_resilience(DMNSN_SEVERITY_LOW);