projects
/
project
/
mountd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mount: struct mount: replace "mounted" and "ignore" fileds with a "status"
[project/mountd.git]
/
timer.c
diff --git
a/timer.c
b/timer.c
index
f6901f7
..
f634af5
100644
(file)
--- a/
timer.c
+++ b/
timer.c
@@
-9,7
+9,7
@@
/* when using this file, alarm() is used */
/* when using this file, alarm() is used */
-struct list_head timers;
+st
atic st
ruct list_head timers;
struct timer {
struct list_head list;
struct timer {
struct list_head list;
@@
-34,7
+34,7
@@
void timer_add(timercb_t timercb, int timeout)
list_add(&timer->list, &timers);
}
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)
{
struct list_head *p;
list_for_each(p, &timers)