]> git.pond.sub.org Git - empserver/commitdiff
(struct loc_RWLock_t): Rename struct loc_RWLock_t to struct loc_RWLock
authorRon Koenderink <rkoenderink@yahoo.ca>
Thu, 18 Jan 2007 01:22:32 +0000 (01:22 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Thu, 18 Jan 2007 01:22:32 +0000 (01:22 +0000)
as the struct loc_RWLock_t is not a typedef.  No functional changes.

include/empthread.h
src/lib/empthread/ntthread.c

index 22b8e8365d448e8af6c19f701f26b34ef2b72eb6..4b3144e967d915e517f6504368840d39258c8928 100644 (file)
@@ -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 */
index 88192db02d547b46ce2b6f2793491596a8aece3f..dd2e45dfdec83812233ccdf3e150692852143159 100644 (file)
@@ -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 */