summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-02-15 18:13:13 -0500
committerTavian Barnes <tavianator@gmail.com>2011-02-15 18:13:13 -0500
commit9f447d34909104da2527896ba85053356edf3b47 (patch)
tree416d3b6e477167bc12e7c4f627a27d1821d2cde6
parentcf8fba7aab4b7bf52a4b0a0cd170956e0402a667 (diff)
downloaddimension-9f447d34909104da2527896ba85053356edf3b47.tar.xz
Make more empty parameter lists explicit.
-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);