Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8532fde authored by Hannes Eder's avatar Hannes Eder Committed by David S. Miller
Browse files

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: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6c2959aa
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -41,11 +41,11 @@


static u_int *debug;
static u_int *debug;
static LIST_HEAD(iclock_list);
static LIST_HEAD(iclock_list);
DEFINE_RWLOCK(iclock_lock);
static DEFINE_RWLOCK(iclock_lock);
u16	iclock_count;		/* counter of last clock */
static u16 iclock_count;		/* counter of last clock */
struct	timeval iclock_tv;	/* time stamp of last clock */
static struct timeval iclock_tv;	/* time stamp of last clock */
int	iclock_tv_valid;	/* already received one timestamp */
static int iclock_tv_valid;		/* already received one timestamp */
struct	mISDNclock *iclock_current;
static struct mISDNclock *iclock_current;


void
void
mISDN_init_clock(u_int *dp)
mISDN_init_clock(u_int *dp)