Merge "Use __unused rather than self assignment for unused parameters."
This commit is contained in:
commit
1ee1bfdeec
@ -126,11 +126,8 @@ int sem_destroy(sem_t *sem)
|
||||
}
|
||||
|
||||
|
||||
sem_t *sem_open(const char *name, int oflag, ...)
|
||||
sem_t *sem_open(const char *name __unused, int oflag __unused, ...)
|
||||
{
|
||||
name=name;
|
||||
oflag=oflag;
|
||||
|
||||
errno = ENOSYS;
|
||||
return SEM_FAILED;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user