Fix redefinition of struct __local_sem_t

This commit is contained in:
Benjamin Fleischer 2014-02-03 09:01:26 +01:00
parent 1fc97d3f2c
commit c3d83ee24b
1 changed files with 7 additions and 9 deletions

View File

@ -10,17 +10,15 @@
/* Semaphores */
struct __local_sem_t
{
unsigned int count;
pthread_mutex_t count_lock;
pthread_cond_t count_cond;
};
typedef struct fuse_sem {
typedef struct darwin_sem {
int id;
union {
struct __local_sem_t local;
struct
{
unsigned int count;
pthread_mutex_t count_lock;
pthread_cond_t count_cond;
} local;
} __data;
} darwin_sem_t;