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
+5 -7
View File
@@ -10,17 +10,15 @@
/* Semaphores */
struct __local_sem_t
typedef struct darwin_sem {
int id;
union {
struct
{
unsigned int count;
pthread_mutex_t count_lock;
pthread_cond_t count_cond;
};
typedef struct fuse_sem {
int id;
union {
struct __local_sem_t local;
} local;
} __data;
} darwin_sem_t;