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

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

diff -urN linux-2.4.18/drivers/net/hamradio/soundmodem/sm_afsk1200.c linux-2.4.19/drivers/net/hamradio/soundmodem/sm_afsk1200.c
@@ -94,7 +94,7 @@
 
 /* --------------------------------------------------------------------- */
 
-extern __inline__ int convolution8_u8(const unsigned char *st, const int *coeff, int csum)
+static inline int convolution8_u8(const unsigned char *st, const int *coeff, int csum)
 {
 	int sum = -0x80 * csum;
 	
@@ -111,7 +111,7 @@
 	return sum * sum;
 }
 
-extern __inline__ int convolution8_s16(const short *st, const int *coeff, int csum)
+static inline int convolution8_s16(const short *st, const int *coeff, int csum)
 {
 	int sum = 0;
 	
@@ -128,7 +128,7 @@
 	return sum * sum;
 }
 
-extern __inline__ int do_filter_1200_u8(const unsigned char *buf)
+static inline int do_filter_1200_u8(const unsigned char *buf)
 {
 	int sum = convolution8_u8(buf, afsk12_tx_lo_i, SUM_AFSK12_TX_LO_I);
 	sum += convolution8_u8(buf, afsk12_tx_lo_q, SUM_AFSK12_TX_LO_Q);
@@ -137,7 +137,7 @@
 	return sum;
 }
 
-extern __inline__ int do_filter_1200_s16(const short *buf)
+static inline int do_filter_1200_s16(const short *buf)
 {
 	int sum = convolution8_s16(buf, afsk12_tx_lo_i, SUM_AFSK12_TX_LO_I);
 	sum += convolution8_s16(buf, afsk12_tx_lo_q, SUM_AFSK12_TX_LO_Q);

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