From 04fd92f05fd0f933df198123e47b047b3f5ea520 Mon Sep 17 00:00:00 2001 From: James Benton Date: Thu, 7 Jan 2016 04:45:18 -0800 Subject: [PATCH] Fix struct forward declarations. --- include/coreinit/condition.h | 3 +-- include/coreinit/mutex.h | 2 +- include/coreinit/threadqueue.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/coreinit/condition.h b/include/coreinit/condition.h index 9e5d28a..482e23f 100644 --- a/include/coreinit/condition.h +++ b/include/coreinit/condition.h @@ -6,9 +6,8 @@ extern "C" { #endif -struct OSMutex; - typedef struct OSCondition OSCondition; +typedef struct OSMutex OSMutex; #define OS_CONDITION_TAG 0x634E6456u diff --git a/include/coreinit/mutex.h b/include/coreinit/mutex.h index ff7c32a..a7de275 100644 --- a/include/coreinit/mutex.h +++ b/include/coreinit/mutex.h @@ -6,7 +6,7 @@ extern "C" { #endif -struct OSThread; +typedef struct OSThread; typedef struct OSCondition OSCondition; typedef struct OSMutex OSMutex; diff --git a/include/coreinit/threadqueue.h b/include/coreinit/threadqueue.h index 98c52f4..02e7053 100644 --- a/include/coreinit/threadqueue.h +++ b/include/coreinit/threadqueue.h @@ -5,7 +5,7 @@ extern "C" { #endif -struct OSThread; +typedef struct OSThread OSThread; typedef struct OSThreadLink OSThreadLink; typedef struct OSThreadQueue OSThreadQueue;