aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2011-06-03 20:25:17 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-06-03 20:25:17 +0200
commitf3854f789c68cfdcfe760de064a291d5203a2499 (patch)
treeefa3b1d80bec0853bcebbb308e644d623d58d214 /util-linux
parent56a3b82e9692a25ef9c9269e88feac0d579ce8e8 (diff)
downloadbusybox-f3854f789c68cfdcfe760de064a291d5203a2499.tar.gz
replace nonstandard unsigned typedefs
Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/ipcs.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/util-linux/ipcs.c b/util-linux/ipcs.c
index 33035c62e..ee7df5e33 100644
--- a/util-linux/ipcs.c
+++ b/util-linux/ipcs.c
@@ -55,11 +55,11 @@
#define SHM_INFO 14
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;
+ unsigned long shm_tot; /* total allocated shm */
+ unsigned long shm_rss; /* total resident shm */
+ unsigned long shm_swp; /* total swapped shm */
+ unsigned long swap_attempts;
+ unsigned long swap_successes;
};
#endif
@@ -267,7 +267,7 @@ static NOINLINE void do_sem(void)
struct passwd *pw;
union semun arg;
- arg.array = (ushort *) (void *) &seminfo;
+ arg.array = (unsigned short *) (void *) &seminfo;
maxid = semctl(0, 0, SEM_INFO, arg);
if (maxid < 0) {
printf("kernel not configured for %s\n", "semaphores");
@@ -277,7 +277,7 @@ static NOINLINE void do_sem(void)
switch (format) {
case LIMITS:
printf("------ Semaphore %s --------\n", "Limits");
- arg.array = (ushort *) (void *) &seminfo; /* damn union */
+ arg.array = (unsigned short *) (void *) &seminfo; /* damn union */
if ((semctl(0, 0, IPC_INFO, arg)) < 0)
return;
printf("max number of arrays = %d\n"