Use __ipc_pid_t.
authordrepper <drepper>
Mon, 22 Dec 1997 20:40:58 +0000 (20:40 +0000)
committerdrepper <drepper>
Mon, 22 Dec 1997 20:40:58 +0000 (20:40 +0000)
sysdeps/unix/sysv/linux/bits/shm.h

index 6f5f840..c707059 100644 (file)
@@ -44,8 +44,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 */
@@ -73,12 +73,12 @@ struct      shminfo
 
 struct shm_info
   {
-    int   used_ids;
-    ulong shm_tot;     /* total allocated shm */
-    ulong shm_rss;     /* total resident shm */
-    ulong shm_swp;     /* total swapped shm */
-    ulong swap_attempts;
-    ulong swap_successes;
+    int used_ids;
+    unsigned long int shm_tot; /* total allocated shm */
+    unsigned long int shm_rss; /* total resident shm */
+    unsigned long int shm_swp; /* total swapped shm */
+    unsigned long int swap_attempts;
+    unsigned long int swap_successes;
   };
 
 #endif /* __USE_MISC */