This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[PATCH] linux-generic: fix typesizes.h to match recent core changes
- From: Chris Metcalf <cmetcalf at tilera dot com>
- To: <libc-ports at sourceware dot org>
- Date: Wed, 16 May 2012 09:28:31 -0400
- Subject: [PATCH] linux-generic: fix typesizes.h to match recent core changes
- References: <20120412012017.GA27647@intel.com> <20120514220816.DDDB42C08E@topped-with-meat.com> <CAMe9rOpEUO2aKJ4494knAhwuuM7d3Ztz8jNUph1psWrJZozjMQ@mail.gmail.com> <20120515164158.17BBD2C086@topped-with-meat.com> <CAMe9rOqh-VbhrzyPbOfvoJ_xarMSf57zbniEr0sRK1+StVpy7g@mail.gmail.com> <Pine.LNX.4.64.1205161028570.11537@digraph.polyomino.org.uk>
Remove __SNSECONDS_T_TYPE; add __SYSCALL_{S,U}LONG_TYPE.
---
ChangeLog.linux-generic | 6 ++++++
sysdeps/unix/sysv/linux/generic/bits/typesizes.h | 3 ++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/ChangeLog.linux-generic b/ChangeLog.linux-generic
index 9f563e3..811b6c6 100644
--- a/ChangeLog.linux-generic
+++ b/ChangeLog.linux-generic
@@ -1,3 +1,9 @@
+2012-05-16 Chris Metcalf <cmetcalf@tilera.com>
+
+ * sysdeps/unix/sysv/linux/generic/bits/typesizes.h:
+ Remove now-unused __SNSECONDS_T_TYPE, and add new
+ __SYSCALL_ULONG_TYPE and __SYSCALL_SLONG_TYPE types.
+
2012-05-14 Chris Metcalf <cmetcalf@tilera.com>
* sysdeps/unix/sysv/linux/generic/bits/stat.h,
diff --git a/sysdeps/unix/sysv/linux/generic/bits/typesizes.h b/sysdeps/unix/sysv/linux/generic/bits/typesizes.h
index b6541bb..b280c9b 100644
--- a/sysdeps/unix/sysv/linux/generic/bits/typesizes.h
+++ b/sysdeps/unix/sysv/linux/generic/bits/typesizes.h
@@ -58,7 +58,8 @@
#define __BLKSIZE_T_TYPE __S32_TYPE
#define __FSID_T_TYPE struct { int __val[2]; }
#define __SSIZE_T_TYPE __SWORD_TYPE
-#define __SNSECONDS_T_TYPE __SLONGWORD_TYPE
+#define __SYSCALL_SLONG_TYPE __SLONGWORD_TYPE
+#define __SYSCALL_ULONG_TYPE __ULONGWORD_TYPE
/* Number of descriptors that can fit in an `fd_set'. */
#define __FD_SETSIZE 1024
--
1.6.5.2