1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

Remove CHECK_N and bp-checks.h.

This commit is contained in:
Joseph Myers
2013-02-08 20:06:30 +00:00
parent 7f3e75f87a
commit a2da1673fe
46 changed files with 181 additions and 183 deletions

View File

@ -23,7 +23,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
#include <bp-checks.h>
#include <kernel-features.h>
@ -46,14 +45,14 @@ __libc_pread (fd, buf, count, offset)
if (SINGLE_THREAD_P)
{
result = INLINE_SYSCALL (pread, 6, fd, CHECK_N (buf, count), count, 0,
result = INLINE_SYSCALL (pread, 6, fd, buf, count, 0,
__LONG_LONG_PAIR (offset >> 31, offset));
return result;
}
int oldtype = LIBC_CANCEL_ASYNC ();
result = INLINE_SYSCALL (pread, 6, fd, CHECK_N (buf, count), count, 0,
result = INLINE_SYSCALL (pread, 6, fd, buf, count, 0,
__LONG_LONG_PAIR (offset >> 31, offset));
LIBC_CANCEL_RESET (oldtype);