From 15c2043021cc17276cdd34a76c55dddd8105cc96 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 22 Dec 2005 06:49:49 +0000 Subject: more consistently use _rthread prefix for all not meant to be exported interfaces that aren't static, and a few that are but which will change --- lib/librthread/rthread_sync.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/librthread/rthread_sync.c') diff --git a/lib/librthread/rthread_sync.c b/lib/librthread/rthread_sync.c index d821372c0e7..012312754c4 100644 --- a/lib/librthread/rthread_sync.c +++ b/lib/librthread/rthread_sync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rthread_sync.c,v 1.11 2005/12/19 06:47:40 tedu Exp $ */ +/* $OpenBSD: rthread_sync.c,v 1.12 2005/12/22 06:49:48 tedu Exp $ */ /* * Copyright (c) 2004,2005 Ted Unangst * All Rights Reserved. @@ -253,7 +253,7 @@ pthread_mutex_destroy(pthread_mutex_t *mutexp) } int -rthread_mutex_lock(pthread_mutex_t *mutexp, int trywait) +_rthread_mutex_lock(pthread_mutex_t *mutexp, int trywait) { pthread_mutex_t mutex = *mutexp; pthread_t thread = pthread_self(); @@ -281,13 +281,13 @@ rthread_mutex_lock(pthread_mutex_t *mutexp, int trywait) int pthread_mutex_lock(pthread_mutex_t *p) { - return (rthread_mutex_lock(p, 0)); + return (_rthread_mutex_lock(p, 0)); } int pthread_mutex_trylock(pthread_mutex_t *p) { - return (rthread_mutex_lock(p, 1)); + return (_rthread_mutex_lock(p, 1)); } int -- cgit v1.2.3