From 4e3f108e9bbd567e058f53be646b0ba2be1de8dd Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Fri, 6 Jan 2006 00:32:15 +0000 Subject: Merge from trunk. --- libpthread/linuxthreads.old/semaphore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libpthread/linuxthreads.old/semaphore.c') 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; -- cgit v1.2.3