about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/msgrcv.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-02-13 23:30:40 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-02-13 23:30:40 +0000
commit70d9946a44ba381f81eb08c71cc150315cc112ad (patch)
treeb354421eb394cee78cb16fd35812fb864c481ab8 /sysdeps/unix/sysv/linux/msgrcv.c
parentffb1ec7b7ff1c65523b6926fc3afbacdb94db356 (diff)
downloadglibc-70d9946a44ba381f81eb08c71cc150315cc112ad.tar.gz
glibc-70d9946a44ba381f81eb08c71cc150315cc112ad.tar.xz
glibc-70d9946a44ba381f81eb08c71cc150315cc112ad.zip
Remove __ptrvalue, __bounded and __unbounded.
Diffstat (limited to 'sysdeps/unix/sysv/linux/msgrcv.c')
-rw-r--r--sysdeps/unix/sysv/linux/msgrcv.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/msgrcv.c b/sysdeps/unix/sysv/linux/msgrcv.c
index edf81a53d3..7ec9b253bc 100644
--- a/sysdeps/unix/sysv/linux/msgrcv.c
+++ b/sysdeps/unix/sysv/linux/msgrcv.c
@@ -27,7 +27,7 @@
    arguments to a system call.  */
 struct ipc_kludge
   {
-    void *__unbounded msgp;
+    void *msgp;
     long int msgtyp;
   };
 
@@ -48,13 +48,12 @@ __libc_msgrcv (msqid, msgp, msgsz, msgtyp, msgflg)
   tmp.msgtyp = msgtyp;
 
   if (SINGLE_THREAD_P)
-    return INLINE_SYSCALL (ipc, 5, IPCOP_msgrcv, msqid, msgsz, msgflg,
-			   __ptrvalue (&tmp));
+    return INLINE_SYSCALL (ipc, 5, IPCOP_msgrcv, msqid, msgsz, msgflg, &tmp);
 
   int oldtype = LIBC_CANCEL_ASYNC ();
 
   ssize_t result = INLINE_SYSCALL (ipc, 5, IPCOP_msgrcv, msqid, msgsz, msgflg,
-				   __ptrvalue (&tmp));
+				   &tmp);
 
    LIBC_CANCEL_RESET (oldtype);