summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authormlelstv <mlelstv@NetBSD.org>2008-01-31 10:07:09 +0000
committermlelstv <mlelstv@NetBSD.org>2008-01-31 10:07:09 +0000
commit58dedb340c34b379efce9575b5e42dee8f6319ef (patch)
tree58632bf3bcbfa8f691001ed39889157378abfb2a /lib/libpthread
parent90783e5e069a2122c09c65f131b288f6441e7849 (diff)
use the correct symbols
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/pthread_rwlock.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libpthread/pthread_rwlock.c b/lib/libpthread/pthread_rwlock.c
index 2a46e9e30e7..7e698884bcf 100644
--- a/lib/libpthread/pthread_rwlock.c
+++ b/lib/libpthread/pthread_rwlock.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_rwlock.c,v 1.24 2008/01/08 20:55:25 christos Exp $ */
+/* $NetBSD: pthread_rwlock.c,v 1.25 2008/01/31 10:07:09 mlelstv Exp $ */
/*-
* Copyright (c) 2002, 2006, 2007 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_rwlock.c,v 1.24 2008/01/08 20:55:25 christos Exp $");
+__RCSID("$NetBSD: pthread_rwlock.c,v 1.25 2008/01/31 10:07:09 mlelstv Exp $");
#include <errno.h>
@@ -46,9 +46,9 @@ __RCSID("$NetBSD: pthread_rwlock.c,v 1.24 2008/01/08 20:55:25 christos Exp $");
#ifndef PTHREAD__HAVE_ATOMIC
-__weak_alias(pthread_mutex_held_np,_pthread_rwlock_held_np)
-__weak_alias(pthread_mutex_rdheld_np,_pthread_rwlock_rdheld_np)
-__weak_alias(pthread_mutex_wrheld_np,_pthread_rwlock_wrheld_np)
+__weak_alias(pthread_rwlock_held_np,_pthread_rwlock_held_np)
+__weak_alias(pthread_rwlock_rdheld_np,_pthread_rwlock_rdheld_np)
+__weak_alias(pthread_rwlock_wrheld_np,_pthread_rwlock_wrheld_np)
int _pthread_rwlock_held_np(pthread_rwlock_t *);
int _pthread_rwlock_rdheld_np(pthread_rwlock_t *);