summaryrefslogtreecommitdiff
path: root/include/asm-sh64/uaccess.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-01-09 20:54:47 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 08:02:02 -0800
commitca5ed2f5c7bf3ca51598336fcc1436b5da129f34 (patch)
tree6bff73e759d9a0c83bbb8abf60a1aca013c5c8a2 /include/asm-sh64/uaccess.h
parente0795cf46d174d4faab35d13d0a088b5bcb2752a (diff)
downloadlwn-ca5ed2f5c7bf3ca51598336fcc1436b5da129f34.tar.gz
lwn-ca5ed2f5c7bf3ca51598336fcc1436b5da129f34.zip
[PATCH] include/asm-sh64/: "extern inline" -> "static inline"
"extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-sh64/uaccess.h')
-rw-r--r--include/asm-sh64/uaccess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh64/uaccess.h b/include/asm-sh64/uaccess.h
index 56aa3cf0f273..f4936d8fa617 100644
--- a/include/asm-sh64/uaccess.h
+++ b/include/asm-sh64/uaccess.h
@@ -287,7 +287,7 @@ __sfu_res = __strncpy_from_user((unsigned long) (dest), __sfu_src, __sfu_count);
*/
extern long __strnlen_user(const char *__s, long __n);
-extern __inline__ long strnlen_user(const char *s, long n)
+static inline long strnlen_user(const char *s, long n)
{
if (!__addr_ok(s))
return 0;