--- tests/tmr/timer.c.orig	2005-10-24 11:40:32.000000000 +1000
+++ tests/tmr/timer.c	2013-09-24 00:32:32.000000000 +1000
@@ -1,3 +1,4 @@
+#include <stdio.h>
 #include <stdlib.h>
 #include "libut/ut.h"
 
@@ -8,10 +9,12 @@ int tmrtest_cb(char *name, unsigned msec
 
 int tmradd_usage(int argc,char*argv[]) {
     UT_shlf("usage: tmradd <timername> <msec>\n");
+    return 0;
 }
 
 int tmrdel_usage(int argc,char*argv[]) {
     UT_shlf("usage: tmrdel <timername>\n");
+    return 0;
 }
 
 int tmradd_cmd(int argc, char *argv[]) {
@@ -44,4 +47,5 @@ int main() {
     UT_shl_cmd_create( "tmradd", "add a timer", tmradd_cmd, tmradd_usage);
     UT_shl_cmd_create( "tmrdel", "delete a timer", tmrdel_cmd, tmrdel_usage);
     UT_event_loop();
+    return 0;
 }
