diff options
-rwxr-xr-x | arch/i386/bits/alltypes.h.sh | 2 | ||||
-rwxr-xr-x | arch/x86_64/bits/alltypes.h.sh | 2 | ||||
-rw-r--r-- | src/internal/pthread_impl.h | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/arch/i386/bits/alltypes.h.sh b/arch/i386/bits/alltypes.h.sh index c6201b9d..13658cc2 100755 --- a/arch/i386/bits/alltypes.h.sh +++ b/arch/i386/bits/alltypes.h.sh @@ -107,7 +107,7 @@ TYPEDEF long long blkcnt_t; TYPEDEF unsigned long long fsblkcnt_t; TYPEDEF unsigned long long fsfilcnt_t; -TYPEDEF void * timer_t; +TYPEDEF struct __timer * timer_t; TYPEDEF int clockid_t; TYPEDEF unsigned long clock_t; diff --git a/arch/x86_64/bits/alltypes.h.sh b/arch/x86_64/bits/alltypes.h.sh index b0aecd9c..cd84a2da 100755 --- a/arch/x86_64/bits/alltypes.h.sh +++ b/arch/x86_64/bits/alltypes.h.sh @@ -107,7 +107,7 @@ TYPEDEF long long blkcnt_t; TYPEDEF unsigned long long fsblkcnt_t; TYPEDEF unsigned long long fsfilcnt_t; -TYPEDEF void * timer_t; +TYPEDEF struct __timer * timer_t; TYPEDEF int clockid_t; TYPEDEF long clock_t; diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index c8fa4b11..615b963a 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -43,6 +43,10 @@ struct pthread { } robust_list; }; +struct __timer { + struct sigevent sev; +}; + #define __SU (sizeof(size_t)/sizeof(int)) #define _a_stacksize __u.__s[0] |