aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-16 13:01:32 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-16 13:01:32 -0700
commita637753a56c194a410ea173b635293d555f04b4e (patch)
treeae2fc6ecc6f2a6c12ccaa91ee9b24d979f7a00b0
parentd5e051198503e74256b72fee7b93e681f1de6b57 (diff)
downloadglibc-a637753a56c194a410ea173b635293d555f04b4e.zip
glibc-a637753a56c194a410ea173b635293d555f04b4e.tar.gz
glibc-a637753a56c194a410ea173b635293d555f04b4e.tar.bz2
Use __syscall_ulong_t in bits/ipc.h
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/bits/ipc.h6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 738be2d..774969a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
+ * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
+ __syscall_ulong_t.
+
+2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
+
* sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
include <bits/wordsize.h>. Check __x86_64__ instead of
__WORDSIZE.
diff --git a/sysdeps/unix/sysv/linux/bits/ipc.h b/sysdeps/unix/sysv/linux/bits/ipc.h
index 3bd5f1b..f1d5d37 100644
--- a/sysdeps/unix/sysv/linux/bits/ipc.h
+++ b/sysdeps/unix/sysv/linux/bits/ipc.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995-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
@@ -50,6 +50,6 @@ struct ipc_perm
unsigned short int __pad1;
unsigned short int __seq; /* Sequence number. */
unsigned short int __pad2;
- unsigned long int __unused1;
- unsigned long int __unused2;
+ __syscall_ulong_t __unused1;
+ __syscall_ulong_t __unused2;
};