diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/condvars.h | 2 | ||||
-rw-r--r-- | src/include/semaphores.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/condvars.h b/src/include/condvars.h index 83afe6db7..be23bf6d1 100644 --- a/src/include/condvars.h +++ b/src/include/condvars.h @@ -34,7 +34,7 @@ /**
* CondVar structure.
*/
-typedef struct {
+typedef struct CondVar {
ThreadsQueue c_queue;
} CondVar;
diff --git a/src/include/semaphores.h b/src/include/semaphores.h index 5faa6e97e..ba75d8ba7 100644 --- a/src/include/semaphores.h +++ b/src/include/semaphores.h @@ -30,7 +30,7 @@ /**
* Semaphore structure.
*/
-typedef struct {
+typedef struct Semaphore {
/** Queue of the threads sleeping on this Semaphore.*/
ThreadsQueue s_queue;
/** The Semaphore counter.*/
|