summaryrefslogtreecommitdiffstats
path: root/bench
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-04-03 21:30:15 -0400
committerTavian Barnes <tavianator@gmail.com>2011-04-03 21:30:15 -0400
commit5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802 (patch)
tree2b642b87d97ab13b050e1ef9323725c0bbd5b5c6 /bench
parent7bc2770af08e317b2076540050c68d2de55a11db (diff)
downloaddimension-5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802.tar.xz
Don't use awkward (*fptr)() syntax.
Diffstat (limited to 'bench')
-rw-r--r--bench/libdimension/list.c2
-rw-r--r--bench/libdimension/prtree.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/bench/libdimension/list.c b/bench/libdimension/list.c
index 6cd0bc1..ce6c6cc 100644
--- a/bench/libdimension/list.c
+++ b/bench/libdimension/list.c
@@ -105,7 +105,7 @@ main(void)
printf("dmnsn_list_split(): %ld\n", sandglass.grains);
/* dmnsn_list_sort() */
- sandglass_bench(&sandglass, dmnsn_list_sort(list, &dmnsn_comparator));
+ sandglass_bench(&sandglass, dmnsn_list_sort(list, dmnsn_comparator));
printf("dmnsn_list_sort(): %ld\n", sandglass.grains);
/* dmnsn_list_remove() */
diff --git a/bench/libdimension/prtree.c b/bench/libdimension/prtree.c
index e568d7d..6e793e4 100644
--- a/bench/libdimension/prtree.c
+++ b/bench/libdimension/prtree.c
@@ -59,8 +59,8 @@ dmnsn_new_fake_object(void)
dmnsn_object *object = dmnsn_new_object();
/* Generate a bounding box in (-1, -1, -1), (1, 1, 1) */
dmnsn_randomize_bounding_box(object);
- object->intersection_fn = &dmnsn_fake_intersection_fn;
- object->inside_fn = &dmnsn_fake_inside_fn;
+ object->intersection_fn = dmnsn_fake_intersection_fn;
+ object->inside_fn = dmnsn_fake_inside_fn;
return object;
}