mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Remove CHECK_1 and CHECK_1_NULL_OK.
This commit is contained in:
@ -27,7 +27,6 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <bp-checks.h>
|
||||
|
||||
#include <xstatconv.h>
|
||||
|
||||
@ -36,8 +35,7 @@ int
|
||||
__lxstat (int vers, const char *name, struct stat *buf)
|
||||
{
|
||||
if (vers == _STAT_VER_KERNEL)
|
||||
return INLINE_SYSCALL (lstat, 2, name,
|
||||
CHECK_1 ((struct kernel_stat *) buf));
|
||||
return INLINE_SYSCALL (lstat, 2, name, (struct kernel_stat *) buf);
|
||||
|
||||
#ifdef STAT_IS_KERNEL_STAT
|
||||
errno = EINVAL;
|
||||
|
Reference in New Issue
Block a user