diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-12 04:32:41 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-16 02:39:20 -0500 |
commit | f8532fde95c53e8ef2b5ea44542c82c117d28041 (patch) | |
tree | 841939075c5d9f94a3dab0f18303e10f00eaafc6 | |
parent | 6c2959aa7b81b83c9c4b4cb822bb7c0a637e869a (diff) |
drivers/isdn/mISDN: fix sparse warnings: make symbols static
Fix this sparse warnings:
drivers/isdn/mISDN/clock.c:44:1: warning: symbol 'iclock_lock' was not declared. Should it be static?
drivers/isdn/mISDN/clock.c:45:9: warning: symbol 'iclock_count' was not declared. Should it be static?
drivers/isdn/mISDN/clock.c:46:17: warning: symbol 'iclock_tv' was not declared. Should it be static?
drivers/isdn/mISDN/clock.c:47:9: warning: symbol 'iclock_tv_valid' was not declared. Should it be static?
drivers/isdn/mISDN/clock.c:48:20: warning: symbol 'iclock_current' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/isdn/mISDN/clock.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/isdn/mISDN/clock.c b/drivers/isdn/mISDN/clock.c index 44d9c3d5d33d..f1bbc88763b2 100644 --- a/drivers/isdn/mISDN/clock.c +++ b/drivers/isdn/mISDN/clock.c | |||
@@ -41,11 +41,11 @@ | |||
41 | 41 | ||
42 | static u_int *debug; | 42 | static u_int *debug; |
43 | static LIST_HEAD(iclock_list); | 43 | static LIST_HEAD(iclock_list); |
44 | DEFINE_RWLOCK(iclock_lock); | 44 | static DEFINE_RWLOCK(iclock_lock); |
45 | u16 iclock_count; /* counter of last clock */ | 45 | static u16 iclock_count; /* counter of last clock */ |
46 | struct timeval iclock_tv; /* time stamp of last clock */ | 46 | static struct timeval iclock_tv; /* time stamp of last clock */ |
47 | int iclock_tv_valid; /* already received one timestamp */ | 47 | static int iclock_tv_valid; /* already received one timestamp */ |
48 | struct mISDNclock *iclock_current; | 48 | static struct mISDNclock *iclock_current; |
49 | 49 | ||
50 | void | 50 | void |
51 | mISDN_init_clock(u_int *dp) | 51 | mISDN_init_clock(u_int *dp) |