summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-12-21 21:24:26 +0000
committerUlrich Drepper <drepper@redhat.com>1997-12-21 21:24:26 +0000
commit6a4e2e66470fca9c89e8d36d0f46c6536600c636 (patch)
treed5c9bde3b317c4530831ab6378d1d86b989eb6ee
parent91a14789241e05ca59715bce30d7ed35cde78604 (diff)
Use __ipc_pid_t for shm_cpid and shm_lpid field.
-rw-r--r--sysdeps/unix/sysv/linux/sys/shm_buf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/shm_buf.h b/sysdeps/unix/sysv/linux/sys/shm_buf.h
index 642b7bd191..6aac0104e8 100644
--- a/sysdeps/unix/sysv/linux/sys/shm_buf.h
+++ b/sysdeps/unix/sysv/linux/sys/shm_buf.h
@@ -48,8 +48,8 @@ struct shmid_ds
__time_t shm_atime; /* time of last shmat() */
__time_t shm_dtime; /* time of last shmdt() */
__time_t shm_ctime; /* time of last change by shmctl() */
- int shm_cpid; /* pid of creator */
- int shm_lpid; /* pid of last shmop */
+ __ipc_pid_t shm_cpid; /* pid of creator */
+ __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 *__shm_pages; /* array of ptrs to frames -> SHMMAX */