--- tests/hash/int.c.orig	2005-10-24 11:40:32.000000000 +1000
+++ tests/hash/int.c	2013-09-24 00:27:41.000000000 +1000
@@ -1,3 +1,4 @@
+#include <stdio.h>
 #include <stdlib.h>
 #include "libut/ut.h"
 
@@ -40,6 +41,7 @@ int runtest_cmd(int argc, char *argv[]) 
 
 int usage_cb(int argc, char*argv[]) {
     UT_shlf("usage: runtest [num]  -- run 100 (or num) iterations of test\n");
+    return 0;
 }
 
 int main() {
@@ -47,4 +49,5 @@ int main() {
     UT_shl_cmd_create("runtest", "run a round of testing", runtest_cmd, usage_cb);
     UT_mem_pool_create("testpool", sizeof(test_t), 10);
     UT_event_loop();
+    return 0;
 }
