aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-ohash.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2012-06-09 11:02:55 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2012-06-09 11:02:55 +0000
commitc2e6abd2f7488f28303491249ecc436ea04b188a (patch)
tree230df6dac76806f7fa514b850b9758b0011d1b47 /test-ohash.c
parentedbd1fa554d38a3f19ff970c944800ddf36ac396 (diff)
downloadmandoc-c2e6abd2f7488f28303491249ecc436ea04b188a.tar.gz
mandoc-c2e6abd2f7488f28303491249ecc436ea04b188a.tar.zst
mandoc-c2e6abd2f7488f28303491249ecc436ea04b188a.zip
Make test-ohash.c work on OpenBSD (it now works on have/havenots of OpenBSD
and OSX).
Diffstat (limited to 'test-ohash.c')
-rw-r--r--test-ohash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-ohash.c b/test-ohash.c
index 72b3e3dd..84d1b677 100644
--- a/test-ohash.c
+++ b/test-ohash.c
@@ -12,7 +12,7 @@ main(void)
struct ohash h;
struct ohash_info i;
i.halloc = i.alloc = xalloc;
- i.free = free;
+ i.hfree = xfree;
ohash_init(&h, 2, &i);
ohash_delete(&h);
return 0;