1
0
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:
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

@ -22,8 +22,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
#include <bp-checks.h>
ssize_t
__libc_msgrcv (msqid, msgp, msgsz, msgtyp, msgflg)
int msqid;
@ -34,12 +32,12 @@ __libc_msgrcv (msqid, msgp, msgsz, msgtyp, msgflg)
{
if (SINGLE_THREAD_P)
return INLINE_SYSCALL (ipc, 6, IPCOP_msgrcv, msqid, msgsz, msgflg,
CHECK_N (msgp, msgsz), msgtyp);
msgp, msgtyp);
int oldtype = LIBC_CANCEL_ASYNC ();
ssize_t result = INLINE_SYSCALL (ipc, 6, IPCOP_msgrcv, msqid, msgsz, msgflg,
CHECK_N (msgp, msgsz), msgtyp);
msgp, msgtyp);
LIBC_CANCEL_RESET (oldtype);