summaryrefslogtreecommitdiffstats
path: root/arch/s390/lib/uaccess.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2014-01-20 17:07:42 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-01-22 14:02:17 +0100
commit0ff2fe5236a8b07742ae8f5d6f16bed2e31a1cf1 (patch)
treefb434d984ab7066c3c731560cb4d153e60bf1dc7 /arch/s390/lib/uaccess.h
parentb03b467944b3e88a36a33b5429425c42dbd5b8a0 (diff)
downloadlinux-0ff2fe5236a8b07742ae8f5d6f16bed2e31a1cf1.tar.gz
linux-0ff2fe5236a8b07742ae8f5d6f16bed2e31a1cf1.tar.bz2
linux-0ff2fe5236a8b07742ae8f5d6f16bed2e31a1cf1.zip
s390/uaccess: remove dead extern declarations, make functions static
Remove some dead uaccess extern declarations and also make some functions static, since they are only used locally. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/lib/uaccess.h')
-rw-r--r--arch/s390/lib/uaccess.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/s390/lib/uaccess.h b/arch/s390/lib/uaccess.h
index 315dbe09983e..b1a22173d027 100644
--- a/arch/s390/lib/uaccess.h
+++ b/arch/s390/lib/uaccess.h
@@ -6,15 +6,6 @@
#ifndef __ARCH_S390_LIB_UACCESS_H
#define __ARCH_S390_LIB_UACCESS_H
-extern size_t copy_from_user_std(size_t, const void __user *, void *);
-extern size_t copy_to_user_std(size_t, void __user *, const void *);
-extern size_t strnlen_user_std(size_t, const char __user *);
-extern size_t strncpy_from_user_std(size_t, const char __user *, char *);
-extern int futex_atomic_cmpxchg_std(u32 *, u32 __user *, u32, u32);
-extern int futex_atomic_op_std(int, u32 __user *, int, int *);
-
-extern size_t copy_from_user_pt(size_t, const void __user *, void *);
-extern size_t copy_to_user_pt(size_t, void __user *, const void *);
extern int futex_atomic_op_pt(int, u32 __user *, int, int *);
extern int futex_atomic_cmpxchg_pt(u32 *, u32 __user *, u32, u32);