mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Remove CHECK_N and bp-checks.h.
This commit is contained in:
@ -23,7 +23,6 @@
|
||||
|
||||
#include <sysdep-cancel.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <bp-checks.h>
|
||||
|
||||
#include <kernel-features.h>
|
||||
|
||||
@ -44,7 +43,7 @@ do_pread (int fd, void *buf, size_t count, off_t offset)
|
||||
ssize_t result;
|
||||
|
||||
assert (sizeof (offset) == 4);
|
||||
result = INLINE_SYSCALL (pread, 5, fd, CHECK_N (buf, count), count,
|
||||
result = INLINE_SYSCALL (pread, 5, fd, buf, count,
|
||||
__LONG_LONG_PAIR (offset >> 31, offset));
|
||||
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user