From ce40162d6b9dab5172c7c53f777fdd3deaad1a8b Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Sun, 22 Nov 2009 19:59:30 +0000 Subject: xpp: statify and line length in card_bri.c * checkpatch.pl nudged about line lengthes. * sparse nudged about non-static functions. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7622 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/xpp/card_bri.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'drivers') diff --git a/drivers/dahdi/xpp/card_bri.c b/drivers/dahdi/xpp/card_bri.c index ebc1ca9..4aff208 100644 --- a/drivers/dahdi/xpp/card_bri.c +++ b/drivers/dahdi/xpp/card_bri.c @@ -491,7 +491,8 @@ static int bri_check_stat(xpd_t *xpd, struct dahdi_chan *dchan, byte *buf, int l return 0; } -int bri_hdlc_putbuf(xpd_t *xpd, struct dahdi_chan *dchan, unsigned char *buf, int len) +static int bri_hdlc_putbuf(xpd_t *xpd, struct dahdi_chan *dchan, + unsigned char *buf, int len) { #ifdef CONFIG_DAHDI_BRI_DCHANS struct BRI_priv_data *priv; @@ -519,7 +520,7 @@ int bri_hdlc_putbuf(xpd_t *xpd, struct dahdi_chan *dchan, unsigned char *buf, in return 0; } -void bri_hdlc_finish(xpd_t *xpd, struct dahdi_chan *dchan) +static void bri_hdlc_finish(xpd_t *xpd, struct dahdi_chan *dchan) { struct BRI_priv_data *priv; @@ -691,7 +692,8 @@ static void bri_hdlc_hard_xmit(struct dahdi_chan *chan) } #endif -int bri_hdlc_getbuf(struct dahdi_chan *dchan, unsigned char *buf, unsigned int *size) +static int bri_hdlc_getbuf(struct dahdi_chan *dchan, unsigned char *buf, + unsigned int *size) { int len = *size; int eoframe; @@ -1275,7 +1277,8 @@ static int bri_shutdown(struct dahdi_span *span) return 0; } -void BRI_card_pcm_recompute(xbus_t *xbus, xpd_t *xpd, xpp_line_t dont_care) +static void BRI_card_pcm_recompute(xbus_t *xbus, xpd_t *xpd, + xpp_line_t dont_care) { int i; int line_count; -- cgit v1.2.3