This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Thu, Jul 31, 2003 at 05:35:44PM -0700, Roland McGrath wrote: > > Oops, I've missed typesizes.h in linuxthreads. > > Here is the rest of the patch. > > Why do we even have this? For this: > > --- sysdeps/generic/bits/typesizes.h Tue Mar 25 14:49:32 2003 > +++ linuxthreads/sysdeps/pthread/bits/typesizes.h Tue Mar 25 12:39:24 2003 > @@ -54,7 +54,7 @@ > #define __SWBLK_T_TYPE __SLONGWORD_TYPE > #define __KEY_T_TYPE __S32_TYPE > #define __CLOCKID_T_TYPE __S32_TYPE > -#define __TIMER_T_TYPE void * > +#define __TIMER_T_TYPE __S32_TYPE > #define __BLKSIZE_T_TYPE __SLONGWORD_TYPE > #define __FSID_T_TYPE struct { int __val[2]; } > > > ? Why not just change generic/bits/typesizes.h and get rid of the > linuxthreads ones altogether? Because NPTL uses void * for timer_t and linuxthreads int. Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |