--- src/tmr.c.orig 2005-10-24 11:40:32.000000000 +1000 +++ src/tmr.c 2013-09-24 00:37:54.000000000 +1000 @@ -105,8 +105,8 @@ int UT_tmr_update() { int rc; /* Anything to do? Check for (a) no timers; or (b) no expired timers */ - if (!UT_loop_global.tmr_first) return; - if (timercmp(&UT_loop_global.TOD, UT_loop_global.tmr_first, <)) return; + if (!UT_loop_global.tmr_first) return 0; + if (timercmp(&UT_loop_global.TOD, UT_loop_global.tmr_first, <)) return 0; /* One or more timers have expired. Unlink their respective structs * from the timers list and link them into an expired list. Then we @@ -160,6 +160,7 @@ int UT_tmr_update() { tmr = tmr_nxt; } UT_prf_end( "libut", "timer_callbacks"); + return 0; } UT_API int UT_tmr_clear(char *name) { @@ -238,4 +239,5 @@ int UT_tmr_init() { NULL); UT_shl_cmd_create( "uptime", "show uptime", (UT_shlcmd *)UT_uptime_shlcmd, NULL); + return 0; }