summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/card_bri.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-11-22 19:59:30 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-11-22 19:59:30 +0000
commitce40162d6b9dab5172c7c53f777fdd3deaad1a8b (patch)
tree8413eceb93bc766129960bed9b305059f4d1fea9 /drivers/dahdi/xpp/card_bri.c
parente3f3a459ed5a45d5b9271a87e1ea2417f8dc7e47 (diff)
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
Diffstat (limited to 'drivers/dahdi/xpp/card_bri.c')
-rw-r--r--drivers/dahdi/xpp/card_bri.c11
1 files changed, 7 insertions, 4 deletions
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;