[PATCH] Fix ssize_t definition on s390 32-bit (followup)
Jakub Jelinek
jakub@redhat.com
Fri Aug 1 00:39:00 GMT 2003
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
More information about the Libc-hacker
mailing list