summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/prtree.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-07-31 21:26:29 -0600
committerTavian Barnes <tavianator@gmail.com>2010-07-31 21:26:29 -0600
commitfb9dcc629630fe77840574088412eeb12b8d7ddb (patch)
treebb6735fa053ee26b43c09455eccd20a19fb8b1b6 /tests/libdimension/prtree.c
parentdb019a2c4aa8a7bbfad0dd380717a1d6567d2e82 (diff)
downloaddimension-fb9dcc629630fe77840574088412eeb12b8d7ddb.tar.xz
Fix some -W{strict,missing}-prototypes warnings.
Diffstat (limited to 'tests/libdimension/prtree.c')
-rw-r--r--tests/libdimension/prtree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/libdimension/prtree.c b/tests/libdimension/prtree.c
index 1c69fd4..2cf259f 100644
--- a/tests/libdimension/prtree.c
+++ b/tests/libdimension/prtree.c
@@ -28,7 +28,7 @@
unsigned int calls = 0;
-bool
+static bool
dmnsn_fake_intersection_fn(const dmnsn_object *object, dmnsn_line line,
dmnsn_intersection *intersection)
{
@@ -37,7 +37,7 @@ dmnsn_fake_intersection_fn(const dmnsn_object *object, dmnsn_line line,
return true;
}
-void
+static void
dmnsn_randomize_bounding_box(dmnsn_object *object)
{
dmnsn_vector a, b;
@@ -55,7 +55,7 @@ dmnsn_randomize_bounding_box(dmnsn_object *object)
}
int
-main()
+main(void)
{
const size_t nobjects = 128;
dmnsn_scene *scene = dmnsn_new_scene();