summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/semaphore.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads.old/semaphore.c')
-rw-r--r--libpthread/linuxthreads.old/semaphore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpthread/linuxthreads.old/semaphore.c b/libpthread/linuxthreads.old/semaphore.c
index 5be1f5316..0a156e123 100644
--- a/libpthread/linuxthreads.old/semaphore.c
+++ b/libpthread/linuxthreads.old/semaphore.c
@@ -190,19 +190,19 @@ int __new_sem_destroy(sem_t * sem)
return 0;
}
-sem_t *sem_open(const char *name, int oflag, ...)
+sem_t *sem_open(const char *name attribute_unused, int oflag attribute_unused, ...)
{
__set_errno (ENOSYS);
return SEM_FAILED;
}
-int sem_close(sem_t *sem)
+int sem_close(sem_t *sem attribute_unused)
{
__set_errno (ENOSYS);
return -1;
}
-int sem_unlink(const char *name)
+int sem_unlink(const char *name attribute_unused)
{
__set_errno (ENOSYS);
return -1;