[dahdi-commits] tzafrir: linux/trunk r7622 -	/linux/trunk/drivers/dahdi/xpp/card_bri.c
    SVN commits to the DAHDI project 
    dahdi-commits at lists.digium.com
       
    Sun Nov 22 13:59:33 CST 2009
    
    
  
Author: tzafrir
Date: Sun Nov 22 13:59:30 2009
New Revision: 7622
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7622
Log:
xpp: statify and line length in card_bri.c
* checkpatch.pl nudged about line lengthes.
* sparse nudged about non-static functions.
Modified:
    linux/trunk/drivers/dahdi/xpp/card_bri.c
Modified: linux/trunk/drivers/dahdi/xpp/card_bri.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/xpp/card_bri.c?view=diff&rev=7622&r1=7621&r2=7622
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/card_bri.c (original)
+++ linux/trunk/drivers/dahdi/xpp/card_bri.c Sun Nov 22 13:59:30 2009
@@ -491,7 +491,8 @@
 	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 @@
 	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 @@
 }
 #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 @@
 	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;
    
    
More information about the dahdi-commits
mailing list