Fix struct forward declarations.

This commit is contained in:
James Benton 2016-01-07 04:45:18 -08:00
parent acfffa6d85
commit 04fd92f05f
3 changed files with 3 additions and 4 deletions

View File

@ -6,9 +6,8 @@
extern "C" { extern "C" {
#endif #endif
struct OSMutex;
typedef struct OSCondition OSCondition; typedef struct OSCondition OSCondition;
typedef struct OSMutex OSMutex;
#define OS_CONDITION_TAG 0x634E6456u #define OS_CONDITION_TAG 0x634E6456u

View File

@ -6,7 +6,7 @@
extern "C" { extern "C" {
#endif #endif
struct OSThread; typedef struct OSThread;
typedef struct OSCondition OSCondition; typedef struct OSCondition OSCondition;
typedef struct OSMutex OSMutex; typedef struct OSMutex OSMutex;

View File

@ -5,7 +5,7 @@
extern "C" { extern "C" {
#endif #endif
struct OSThread; typedef struct OSThread OSThread;
typedef struct OSThreadLink OSThreadLink; typedef struct OSThreadLink OSThreadLink;
typedef struct OSThreadQueue OSThreadQueue; typedef struct OSThreadQueue OSThreadQueue;