Reapply r201145 to lib/libc/gen/sem.c

This commit is contained in:
antoine 2010-01-23 12:48:46 +00:00
parent ddbe48bd56
commit 233af5fd93

View File

@ -106,7 +106,7 @@ typedef struct sem* sem_t;
static sem_t sem_alloc(unsigned int value, semid_t semid, int system_sem);
static void sem_free(sem_t sem);
static LIST_HEAD(, sem) named_sems = LIST_HEAD_INITIALIZER(&named_sems);
static LIST_HEAD(, sem) named_sems = LIST_HEAD_INITIALIZER(named_sems);
static pthread_mutex_t named_sems_mtx = PTHREAD_MUTEX_INITIALIZER;
FB10_COMPAT(_libc_sem_init_compat, sem_init);