diff --git a/include/empthread.h b/include/empthread.h index 22b8e836..4b3144e9 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 88192db0..dd2e45df 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 */