patch-2.4.9 linux/include/asm-arm/uaccess.h

Next file: linux/include/asm-arm/unistd.h
Previous file: linux/include/asm-arm/softirq.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/include/asm-arm/uaccess.h linux/include/asm-arm/uaccess.h
@@ -39,7 +39,7 @@
 
 #define access_ok(type,addr,size)	(__range_ok(addr,size) == 0)
 
-extern __inline__ int verify_area(int type, const void * addr, unsigned long size)
+static inline int verify_area(int type, const void * addr, unsigned long size)
 {
 	return access_ok(type, addr, size) ? 0 : -EFAULT;
 }
@@ -129,7 +129,7 @@
 
 #define strlen_user(s)	strnlen_user(s, ~0UL >> 1)
 
-extern __inline__ long strnlen_user(const char *s, long n)
+static inline long strnlen_user(const char *s, long n)
 {
 	unsigned long res = 0;
 

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