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

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

diff -urN linux-2.4.18/drivers/net/hamradio/soundmodem/sm_sbc.c linux-2.4.19/drivers/net/hamradio/soundmodem/sm_sbc.c
@@ -59,7 +59,7 @@
 #define put_user(x,ptr) ({ __put_user((unsigned long)(x),(ptr),sizeof(*(ptr))); 0; })
 #define get_user(x,ptr) ({ x = ((__typeof__(*(ptr)))__get_user((ptr),sizeof(*(ptr)))); 0; })
 
-extern inline int copy_from_user(void *to, const void *from, unsigned long n)
+static inline int copy_from_user(void *to, const void *from, unsigned long n)
 {
         int i = verify_area(VERIFY_READ, from, n);
         if (i)
@@ -68,7 +68,7 @@
         return 0;
 }
 
-extern inline int copy_to_user(void *to, const void *from, unsigned long n)
+static inline int copy_to_user(void *to, const void *from, unsigned long n)
 {
         int i = verify_area(VERIFY_WRITE, to, n);
         if (i)

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