Quiten warnings in semaphore.c.

Change-Id: I30aff82174f789ab407d2282c07e6207123d4d5b
This commit is contained in:
Elliott Hughes
2014-07-01 17:07:43 -07:00
parent 105ef36c67
commit 95d3cd0b85

View File

@@ -147,7 +147,7 @@ int sem_close(sem_t *sem)
}
int sem_unlink(const char * name)
int sem_unlink(const char* name __unused)
{
errno = ENOSYS;
return -1;
@@ -266,7 +266,6 @@ int sem_wait(sem_t *sem)
int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout)
{
int ret;
unsigned int shared;
if (sem == NULL) {