diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-02-08 01:12:11 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-02-08 01:12:11 +0000 |
commit | f3aae3f3eb4e4345413dc238e941cdb52f747d16 (patch) | |
tree | d1613e7ec39b9d5b7c9b53a286fc653093721594 /sysdeps/unix/sysv/linux/i386/msgctl.c | |
parent | b2c9eff43c49d528c7ad3d0d91d03ccf0ae5ae0f (diff) | |
download | glibc-f3aae3f3eb4e4345413dc238e941cdb52f747d16.tar.gz |
Remove CHECK_1 and CHECK_1_NULL_OK.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/msgctl.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/msgctl.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/msgctl.c b/sysdeps/unix/sysv/linux/i386/msgctl.c index 37cfcb6fce..f48d8e250a 100644 --- a/sysdeps/unix/sysv/linux/i386/msgctl.c +++ b/sysdeps/unix/sysv/linux/i386/msgctl.c @@ -23,7 +23,6 @@ #include <sysdep.h> #include <string.h> #include <sys/syscall.h> -#include <bp-checks.h> #include <shlib-compat.h> @@ -56,8 +55,7 @@ int attribute_compat_text_section __old_msgctl (int msqid, int cmd, struct __old_msqid_ds *buf) { - return INLINE_SYSCALL (ipc, 5, IPCOP_msgctl, - msqid, cmd, 0, CHECK_1 (buf)); + return INLINE_SYSCALL (ipc, 5, IPCOP_msgctl, msqid, cmd, 0, buf); } compat_symbol (libc, __old_msgctl, msgctl, GLIBC_2_0); #endif @@ -66,7 +64,7 @@ int __new_msgctl (int msqid, int cmd, struct msqid_ds *buf) { return INLINE_SYSCALL (ipc, 5, IPCOP_msgctl, - msqid, cmd | __IPC_64, 0, CHECK_1 (buf)); + msqid, cmd | __IPC_64, 0, buf); } versioned_symbol (libc, __new_msgctl, msgctl, GLIBC_2_2); |