diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2005-12-22 06:49:49 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2005-12-22 06:49:49 +0000 |
commit | 15c2043021cc17276cdd34a76c55dddd8105cc96 (patch) | |
tree | aa05d02da967a5ff1c46f3068833ded52bcc93fb /lib/librthread/rthread_sync.c | |
parent | ab2077824ffbdc3f7fe84ffbbe50571111b45336 (diff) |
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
Diffstat (limited to 'lib/librthread/rthread_sync.c')
-rw-r--r-- | lib/librthread/rthread_sync.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 <tedu@openbsd.org> * 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 |