diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-02-13 23:30:40 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-02-13 23:30:40 +0000 |
commit | 70d9946a44ba381f81eb08c71cc150315cc112ad (patch) | |
tree | b354421eb394cee78cb16fd35812fb864c481ab8 /sysdeps/unix/sysv/linux/shmctl.c | |
parent | ffb1ec7b7ff1c65523b6926fc3afbacdb94db356 (diff) | |
download | glibc-70d9946a44ba381f81eb08c71cc150315cc112ad.tar.gz |
Remove __ptrvalue, __bounded and __unbounded.
Diffstat (limited to 'sysdeps/unix/sysv/linux/shmctl.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/shmctl.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/shmctl.c b/sysdeps/unix/sysv/linux/shmctl.c index 10b0ccdf35..34806fbb6b 100644 --- a/sysdeps/unix/sysv/linux/shmctl.c +++ b/sysdeps/unix/sysv/linux/shmctl.c @@ -39,8 +39,8 @@ struct __old_shmid_ds __ipc_pid_t shm_lpid; /* pid of last shmop */ unsigned short int shm_nattch; /* number of current attaches */ unsigned short int __shm_npages; /* size of segment (pages) */ - unsigned long int *__unbounded __shm_pages; /* array of ptrs to frames -> SHMMAX */ - struct vm_area_struct *__unbounded __attaches; /* descriptors for attaches */ + unsigned long int *__shm_pages; /* array of ptrs to frames -> SHMMAX */ + struct vm_area_struct *__attaches; /* descriptors for attaches */ }; struct __old_shminfo @@ -115,8 +115,7 @@ __new_shmctl (int shmid, int cmd, struct shmid_ds *buf) return -1; } } - result = INLINE_SYSCALL (ipc, 5, IPCOP_shmctl, shmid, cmd, 0, - __ptrvalue (&old.ds)); + result = INLINE_SYSCALL (ipc, 5, IPCOP_shmctl, shmid, cmd, 0, &old.ds); if (result != -1 && (cmd == SHM_STAT || cmd == IPC_STAT)) { memset(buf, 0, sizeof(*buf)); |