From 0109d950e685f1c5f6cef245a8b1bc47c9b6d94c Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 22 Jul 2013 13:57:02 -0400 Subject: make pthread attribute types structs, even when they just have one field this change is to get the right tags for C++ ABI matching. it should have no other effects. --- include/alltypes.h.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/alltypes.h.in b/include/alltypes.h.in index b2454365..cdd42ef1 100644 --- a/include/alltypes.h.in +++ b/include/alltypes.h.in @@ -48,9 +48,9 @@ TYPEDEF struct __pthread * pthread_t; TYPEDEF int pthread_once_t; TYPEDEF int pthread_key_t; TYPEDEF int pthread_spinlock_t; -TYPEDEF unsigned pthread_mutexattr_t; -TYPEDEF unsigned pthread_condattr_t; -TYPEDEF unsigned pthread_barrierattr_t; +TYPEDEF struct { unsigned __attr; } pthread_mutexattr_t; +TYPEDEF struct { unsigned __attr; } pthread_condattr_t; +TYPEDEF struct { unsigned __attr; } pthread_barrierattr_t; TYPEDEF struct { unsigned __attr[2]; } pthread_rwlockattr_t; TYPEDEF struct _IO_FILE FILE; -- cgit v1.2.1