mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-31 20:21:49 +01:00
wiiu: remove unused semaphore variable
This commit is contained in:
parent
1b87e3f365
commit
e2f665b9c0
@ -33,12 +33,8 @@ typedef OSSemaphore sem_t;
|
||||
|
||||
#define SEM_FAILED (NULL)
|
||||
|
||||
#define MAX_SEMAPHORES 64
|
||||
static sem_t* wiiu_semaphores[MAX_SEMAPHORES] = { 0 };
|
||||
|
||||
static sem_t *sem_open(const char *name, int oflag, mode_t mode, unsigned int value)
|
||||
{
|
||||
// just ignoring the name should be fine for now since each sem is only init once
|
||||
sem_t* sem = (sem_t*) calloc(1, sizeof(sem_t));
|
||||
OSInitSemaphore(sem, value);
|
||||
return sem;
|
||||
|
Loading…
Reference in New Issue
Block a user