From 68662df96aea57ffa8ed7d1eadb15820bbb4ed03 Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Thu, 18 Jan 2007 01:22:32 +0000 Subject: [PATCH] (struct loc_RWLock_t): Rename struct loc_RWLock_t to struct loc_RWLock as the struct loc_RWLock_t is not a typedef. No functional changes. --- include/empthread.h | 2 +- src/lib/empthread/ntthread.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/empthread.h b/include/empthread.h index 22b8e8365..4b3144e96 100644 --- a/include/empthread.h +++ b/include/empthread.h @@ -112,7 +112,7 @@ typedef struct empth_rwlock_t empth_rwlock_t; typedef struct loc_Thread empth_t; typedef struct loc_Sem empth_sem_t; -typedef struct loc_RWLock_t empth_rwlock_t; +typedef struct loc_RWLock empth_rwlock_t; void empth_request_shutdown(void); #endif /* EMPTH_W32 */ diff --git a/src/lib/empthread/ntthread.c b/src/lib/empthread/ntthread.c index 88192db02..dd2e45dfd 100644 --- a/src/lib/empthread/ntthread.c +++ b/src/lib/empthread/ntthread.c @@ -109,7 +109,7 @@ struct loc_Sem { }; /************************ - * loc_RWLock_t + * loc_RWLock * * Invariants * must hold at function call, return, sleep @@ -147,7 +147,7 @@ struct loc_Sem { * thread changing it holds hThreadMutex. * */ -struct loc_RWLock_t { +struct loc_RWLock { char name[17]; /* The thread name, passed in at create time. */ HANDLE can_read; /* Manual event -- allows read locks */ HANDLE can_write; /* Auto-reset event -- allows write locks */ -- 2.43.0