X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fmountd.git;a=blobdiff_plain;f=timer.c;h=f634af505f4bd43a6fad534e7d989b8025c286af;hp=f6901f7db8b9abb1559f46971e2d8df945aaa45e;hb=ed4270f23e7df70414fcb09203bcbc86f1b85a81;hpb=be3b285c88648c24f7e4b36bebac56a95fa80f7e diff --git a/timer.c b/timer.c index f6901f7..f634af5 100644 --- a/timer.c +++ b/timer.c @@ -9,7 +9,7 @@ /* when using this file, alarm() is used */ -struct list_head timers; +static struct list_head timers; struct timer { struct list_head list; @@ -34,7 +34,7 @@ void timer_add(timercb_t timercb, int timeout) list_add(&timer->list, &timers); } -void timer_proc(int signo) +static void timer_proc(int signo) { struct list_head *p; list_for_each(p, &timers)