aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/i386/shmctl.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-02-08 01:12:11 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-02-08 01:12:11 +0000
commitf3aae3f3eb4e4345413dc238e941cdb52f747d16 (patch)
treed1613e7ec39b9d5b7c9b53a286fc653093721594 /sysdeps/unix/sysv/linux/i386/shmctl.c
parentb2c9eff43c49d528c7ad3d0d91d03ccf0ae5ae0f (diff)
downloadglibc-f3aae3f3eb4e4345413dc238e941cdb52f747d16.zip
glibc-f3aae3f3eb4e4345413dc238e941cdb52f747d16.tar.gz
glibc-f3aae3f3eb4e4345413dc238e941cdb52f747d16.tar.bz2
Remove CHECK_1 and CHECK_1_NULL_OK.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/shmctl.c')
-rw-r--r--sysdeps/unix/sysv/linux/i386/shmctl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/shmctl.c b/sysdeps/unix/sysv/linux/i386/shmctl.c
index 15f055d..cb1539a 100644
--- a/sysdeps/unix/sysv/linux/i386/shmctl.c
+++ b/sysdeps/unix/sysv/linux/i386/shmctl.c
@@ -24,7 +24,6 @@
#include <string.h>
#include <sys/syscall.h>
#include <bits/wordsize.h>
-#include <bp-checks.h>
#include <shlib-compat.h>
@@ -63,8 +62,7 @@ int
attribute_compat_text_section
__old_shmctl (int shmid, int cmd, struct __old_shmid_ds *buf)
{
- return INLINE_SYSCALL (ipc, 5, IPCOP_shmctl,
- shmid, cmd, 0, CHECK_1 (buf));
+ return INLINE_SYSCALL (ipc, 5, IPCOP_shmctl, shmid, cmd, 0, buf);
}
compat_symbol (libc, __old_shmctl, shmctl, GLIBC_2_0);
#endif
@@ -73,7 +71,7 @@ int
__new_shmctl (int shmid, int cmd, struct shmid_ds *buf)
{
return INLINE_SYSCALL (ipc, 5, IPCOP_shmctl,
- shmid, cmd | __IPC_64, 0, CHECK_1 (buf));
+ shmid, cmd | __IPC_64, 0, buf);
}
versioned_symbol (libc, __new_shmctl, shmctl, GLIBC_2_2);