summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-27 23:31:24 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-27 23:31:24 +0000
commit2fec0b7cc23ac7fa24376726ffdbc06884df2cfe (patch)
tree8ab8e607e9a9f7ee793cae3f08a115630ae2b985 /libc/misc
parent16045684fd1537372c6e1a25c88a99df0bfc9c5a (diff)
remove __IPC_64 in syscall() macro since real 64bit arches dont need it (and it doesnt compile)
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/sysvipc/msgq.c2
-rw-r--r--libc/misc/sysvipc/shm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/sysvipc/msgq.c b/libc/misc/sysvipc/msgq.c
index 411ea3ea4..540c498d6 100644
--- a/libc/misc/sysvipc/msgq.c
+++ b/libc/misc/sysvipc/msgq.c
@@ -6,7 +6,7 @@
#ifdef L_msgctl
#ifdef __NR_msgctl
-_syscall3(int, msgctl, int, msqid, int, cmd | __IPC_64, struct msqid_ds *, buf);
+_syscall3(int, msgctl, int, msqid, int, cmd, struct msqid_ds *, buf);
#else
/* Message queue control operation. */
int msgctl (int msqid, int cmd, struct msqid_ds *buf)
diff --git a/libc/misc/sysvipc/shm.c b/libc/misc/sysvipc/shm.c
index d21d9f54b..d3ef42802 100644
--- a/libc/misc/sysvipc/shm.c
+++ b/libc/misc/sysvipc/shm.c
@@ -48,7 +48,7 @@ void * shmat (int shmid, const void *shmaddr, int shmflg)
#ifdef L_shmctl
/* Provide operations to control over shared memory segments. */
#ifdef __NR_shmctl
-_syscall3(int, shmctl, int, shmid, int, cmd | __IPC_64, struct shmid_ds *, buf);
+_syscall3(int, shmctl, int, shmid, int, cmd, struct shmid_ds *, buf);
#else
int shmctl (int shmid, int cmd, struct shmid_ds *buf)
{