From 6277fdabc074afa76ad5883a4b99cdf8e75de31a Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 4 Feb 2013 16:29:39 +0000 Subject: Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr. --- sysdeps/unix/sysv/linux/s390/s390-32/chown.c | 3 +-- sysdeps/unix/sysv/linux/s390/s390-32/lchown.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'sysdeps/unix/sysv/linux/s390') diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/chown.c b/sysdeps/unix/sysv/linux/s390/s390-32/chown.c index 408d24aae8..cd0cb743b5 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/chown.c +++ b/sysdeps/unix/sysv/linux/s390/s390-32/chown.c @@ -21,7 +21,6 @@ #include #include #include -#include #include @@ -42,7 +41,7 @@ int __real_chown (const char *file, uid_t owner, gid_t group) { - return INLINE_SYSCALL (chown32, 3, CHECK_STRING (file), owner, group); + return INLINE_SYSCALL (chown32, 3, file, owner, group); } diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/lchown.c b/sysdeps/unix/sysv/linux/s390/s390-32/lchown.c index 9357df4b49..0b7073c14a 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/lchown.c +++ b/sysdeps/unix/sysv/linux/s390/s390-32/lchown.c @@ -20,7 +20,6 @@ #include #include -#include #include @@ -29,7 +28,7 @@ int __lchown (const char *file, uid_t owner, gid_t group) { - return INLINE_SYSCALL (lchown32, 3, CHECK_STRING (file), owner, group); + return INLINE_SYSCALL (lchown32, 3, file, owner, group); } weak_alias (__lchown, lchown) -- cgit v1.2.3-70-g09d2