diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-01 14:22:31 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-01 15:05:09 +0200 |
commit | 65d1407d55e4f7df703f72ac52c9cef37a59be92 (patch) | |
tree | 66b4a13eecaad95928683cefe07059ac29b755ad /sysdeps/htl/bits/pthread.h | |
parent | 7647d1901ea2b34fafd95ecddf52905a3d314368 (diff) | |
download | glibc-65d1407d55e4f7df703f72ac52c9cef37a59be92.tar.gz glibc-65d1407d55e4f7df703f72ac52c9cef37a59be92.tar.xz glibc-65d1407d55e4f7df703f72ac52c9cef37a59be92.zip |
hurd 64bit: Fix pthread_t/thread_t type to long
So that they can be trivially cast to pointer type, like with nptl.
Diffstat (limited to 'sysdeps/htl/bits/pthread.h')
-rw-r--r-- | sysdeps/htl/bits/pthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/bits/pthread.h b/sysdeps/htl/bits/pthread.h index b966fc8824..57589a191c 100644 --- a/sysdeps/htl/bits/pthread.h +++ b/sysdeps/htl/bits/pthread.h @@ -19,7 +19,7 @@ #ifndef _BITS_PTHREAD_H #define _BITS_PTHREAD_H 1 -typedef int __pthread_t; +#include <bits/types/__pthread_t.h> /* Return true if __T1 and __T2 both name the same thread. Otherwise, false. */ |