(empth_t, empth_sem_t) [_EMPTH_WIN32]: Use incomplete types, not void for

abstract data types.
This commit is contained in:
Markus Armbruster 2004-02-17 18:05:23 +00:00
parent 237baffca9
commit e446bfd904
2 changed files with 4 additions and 5 deletions

View file

@ -102,9 +102,8 @@ typedef struct {
#define EMPTH_PRINT 0x1 #define EMPTH_PRINT 0x1
#define EMPTH_STACKCHECK 0x2 #define EMPTH_STACKCHECK 0x2
typedef void empth_t; typedef struct loc_Thread_t empth_t;
typedef struct loc_Sem_t void empth_sem_t;
typedef void empth_sem_t;
#endif #endif

View file

@ -68,7 +68,7 @@
* The external world only gets * The external world only gets
* a void pointer to this. * a void pointer to this.
*/ */
typedef struct { typedef struct loc_Thread_t {
/* The thread name, passed in at create time. */ /* The thread name, passed in at create time. */
char szName[17]; char szName[17];
@ -102,7 +102,7 @@ typedef struct {
* The external world only gets * The external world only gets
* a void pointer to this. * a void pointer to this.
*/ */
typedef struct { typedef struct empth_sem_t {
char szName[17]; char szName[17];