aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/semaphore.h4
-rw-r--r--linuxthreads/sysdeps/pthread/bits/pthreadtypes.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/linuxthreads/semaphore.h b/linuxthreads/semaphore.h
index f611f48323..fa0e52ddeb 100644
--- a/linuxthreads/semaphore.h
+++ b/linuxthreads/semaphore.h
@@ -33,8 +33,8 @@ typedef struct
{
struct
{
- long int status;
- int spinlock;
+ long int __status;
+ int __spinlock;
} __sem_lock;
int __sem_value;
_pthread_descr __sem_waiting;
diff --git a/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h b/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h
index 2bb661fea3..3ee5c48134 100644
--- a/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h
+++ b/linuxthreads/sysdeps/pthread/bits/pthreadtypes.h
@@ -38,7 +38,7 @@ typedef struct _pthread_descr_struct *_pthread_descr;
/* Attributes for threads. */
-typedef struct
+typedef struct __pthread_attr_s
{
int __detachstate;
int __schedpolicy;