patch-2.4.19 linux-2.4.19/drivers/net/hamradio/soundmodem/sm_afsk2400_8.c

Next file: linux-2.4.19/drivers/net/hamradio/soundmodem/sm_afsk2666.c
Previous file: linux-2.4.19/drivers/net/hamradio/soundmodem/sm_afsk2400_7.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/drivers/net/hamradio/soundmodem/sm_afsk2400_8.c linux-2.4.19/drivers/net/hamradio/soundmodem/sm_afsk2400_8.c
@@ -104,7 +104,7 @@
 
 /* --------------------------------------------------------------------- */
 
-extern __inline__ int convolution14_u8(const unsigned char *st, const int *coeff, int csum)
+static inline int convolution14_u8(const unsigned char *st, const int *coeff, int csum)
 {
 	int sum = -0x80 * csum;
 	
@@ -127,7 +127,7 @@
 	return sum * sum;
 }
 
-extern __inline__ int convolution14_s16(const short *st, const int *coeff, int csum)
+static inline int convolution14_s16(const short *st, const int *coeff, int csum)
 {
 	int sum = 0;
 	
@@ -150,7 +150,7 @@
 	return sum * sum;
 }
 
-extern __inline__ int do_filter_2400_u8(const unsigned char *buf)
+static inline int do_filter_2400_u8(const unsigned char *buf)
 {
 	int sum = convolution14_u8(buf, afsk24_tx_lo_i, SUM_AFSK24_TX_LO_I);
 	sum += convolution14_u8(buf, afsk24_tx_lo_q, SUM_AFSK24_TX_LO_Q);
@@ -159,7 +159,7 @@
 	return sum;
 }
 
-extern __inline__ int do_filter_2400_s16(const short *buf)
+static inline int do_filter_2400_s16(const short *buf)
 {
 	int sum = convolution14_s16(buf, afsk24_tx_lo_i, SUM_AFSK24_TX_LO_I);
 	sum += convolution14_s16(buf, afsk24_tx_lo_q, SUM_AFSK24_TX_LO_Q);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)