1
0
mirror of https://sourceware.org/git/glibc.git synced 2026-01-06 11:51:29 +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,8 +23,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
#include <bp-checks.h>
int
__libc_msgsnd (msqid, msgp, msgsz, msgflg)
int msqid;
@@ -34,12 +32,12 @@ __libc_msgsnd (msqid, msgp, msgsz, msgflg)
{
if (SINGLE_THREAD_P)
return INLINE_SYSCALL (ipc, 5, IPCOP_msgsnd, msqid, msgsz,
msgflg, (void *) CHECK_N (msgp, msgsz));
msgflg, (void *) msgp);
int oldtype = LIBC_CANCEL_ASYNC ();
int result = INLINE_SYSCALL (ipc, 5, IPCOP_msgsnd, msqid, msgsz,
msgflg, (void *) CHECK_N (msgp, msgsz));
msgflg, (void *) msgp);
LIBC_CANCEL_RESET (oldtype);