summaryrefslogtreecommitdiffstats
path: root/include/asm-cris/arch-v10/uaccess.h
diff options
context:
space:
mode:
authorAdrian Bunk2005-11-07 09:58:44 +0100
committerLinus Torvalds2005-11-07 16:53:30 +0100
commitd9b5444eeb3a663ca4a625878b1421c9e9b18e8b (patch)
tree6cc32711116977944043c54e0c196c75358916be /include/asm-cris/arch-v10/uaccess.h
parent[PATCH] cris: printk() duplicate declaration (diff)
downloadkernel-qcow2-linux-d9b5444eeb3a663ca4a625878b1421c9e9b18e8b.tar.gz
kernel-qcow2-linux-d9b5444eeb3a663ca4a625878b1421c9e9b18e8b.tar.xz
kernel-qcow2-linux-d9b5444eeb3a663ca4a625878b1421c9e9b18e8b.zip
[PATCH] cris: "extern inline" -> "static inline"
"extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Mikael Starvik <starvik@axis.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-cris/arch-v10/uaccess.h')
-rw-r--r--include/asm-cris/arch-v10/uaccess.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-cris/arch-v10/uaccess.h b/include/asm-cris/arch-v10/uaccess.h
index 787d2e60c83c..65b02d9b605a 100644
--- a/include/asm-cris/arch-v10/uaccess.h
+++ b/include/asm-cris/arch-v10/uaccess.h
@@ -87,7 +87,7 @@
* bytes copied if we hit a null byte
* (without the null byte)
*/
-extern inline long
+static inline long
__do_strncpy_from_user(char *dst, const char *src, long count)
{
long res;
@@ -602,7 +602,7 @@ __do_strncpy_from_user(char *dst, const char *src, long count)
* or 0 for error. Return a value greater than N if too long.
*/
-extern inline long
+static inline long
strnlen_user(const char *s, long n)
{
long res, tmp1;