summaryrefslogtreecommitdiff
path: root/semaphore.c
diff options
context:
space:
mode:
authorrpj <rpj>2000-08-17 10:18:36 +0000
committerrpj <rpj>2000-08-17 10:18:36 +0000
commita366b6d8c2e6debf247c82af3d41aa2483711c52 (patch)
treee2a2f6785897a8789f88403e99d4f03dce301607 /semaphore.c
parent951895c3aa196e90d4a5ecefe337d8773b8d33b7 (diff)
2000-08-17 Ross Johnson <rpj@special.ise.canberra.edu.au>
* All applicable: Change _pthread_ prefix to ptw32_ prefix to remove leading underscores from private library identifiers (single and double leading underscores are reserved in the ANSI C standard for compiler implementations).
Diffstat (limited to 'semaphore.c')
-rw-r--r--semaphore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/semaphore.c b/semaphore.c
index a8c346e..366c2de 100644
--- a/semaphore.c
+++ b/semaphore.c
@@ -278,7 +278,7 @@ sem_trywait (sem_t * sem)
#ifdef NEED_SEM
void
-_pthread_decrease_semaphore(sem_t * sem)
+ptw32_decrease_semaphore(sem_t * sem)
{
pthread_mutex_lock(&sem->mutex);
@@ -299,7 +299,7 @@ _pthread_decrease_semaphore(sem_t * sem)
}
BOOL
-_pthread_increase_semaphore(sem_t * sem, unsigned int n)
+ptw32_increase_semaphore(sem_t * sem, unsigned int n)
{
BOOL result;