summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/semaphore.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-27 09:37:14 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-27 09:37:14 +0000
commit9acaf58149a23501ae138efce10f8944a20e214d (patch)
tree261742c79e7b55420b2e8d6dbbef073851aab4bc /libpthread/linuxthreads.old/semaphore.c
parentb027080b40664e29d83456951ad3e3e519615c8d (diff)
kill off minor unused warnings
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;