aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-16 11:47:22 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-16 11:47:22 -0700
commita26b68566485e96ef8f8bdc71d229d4c6d709ad5 (patch)
treefa6199d9ea13107d3d0ed8a9d94b70646462a715 /sysdeps
parentcb2b9ef758924cb55ea2fcdd09c08158bd7c5e5d (diff)
downloadglibc-a26b68566485e96ef8f8bdc71d229d4c6d709ad5.tar
glibc-a26b68566485e96ef8f8bdc71d229d4c6d709ad5.tar.gz
glibc-a26b68566485e96ef8f8bdc71d229d4c6d709ad5.tar.bz2
glibc-a26b68566485e96ef8f8bdc71d229d4c6d709ad5.zip
Add x32 support to x86_64/bits/sem.h
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/bits/sem.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/sem.h b/sysdeps/unix/sysv/linux/x86_64/bits/sem.h
index f5831d708a..92bbceff98 100644
--- a/sysdeps/unix/sysv/linux/x86_64/bits/sem.h
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/sem.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -39,12 +39,12 @@ struct semid_ds
{
struct ipc_perm sem_perm; /* operation permission struct */
__time_t sem_otime; /* last semop() time */
- unsigned long int __unused1;
+ __syscall_ulong_t __unused1;
__time_t sem_ctime; /* last time changed by semctl() */
- unsigned long int __unused2;
- unsigned long int sem_nsems; /* number of semaphores in set */
- unsigned long int __unused3;
- unsigned long int __unused4;
+ __syscall_ulong_t __unused2;
+ __syscall_ulong_t sem_nsems; /* number of semaphores in set */
+ __syscall_ulong_t __unused3;
+ __syscall_ulong_t __unused4;
};
/* The user should define a union like the following to use it for arguments