aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-10-09 04:48:12 -0700
committerChris Robinson <[email protected]>2012-10-09 04:48:12 -0700
commitd598f82722d6784fada1c8b2a522463d5bf31c42 (patch)
tree4e31274f54182d8321cc9a5ac26085e7067894a5 /OpenAL32
parentc22408cb2af607ce65846a4ade31251b714c183b (diff)
Don't include alListener.h from alMain.h
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alListener.h3
-rw-r--r--OpenAL32/Include/alMain.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/OpenAL32/Include/alListener.h b/OpenAL32/Include/alListener.h
index e25807c4..8c5fe734 100644
--- a/OpenAL32/Include/alListener.h
+++ b/OpenAL32/Include/alListener.h
@@ -7,8 +7,7 @@
extern "C" {
#endif
-typedef struct ALlistener_struct
-{
+typedef struct ALlistener {
volatile ALfloat Position[3];
volatile ALfloat Velocity[3];
volatile ALfloat Forward[3];
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index e12e432f..9c44cfc6 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -366,7 +366,6 @@ static __inline void LockUIntMapWrite(UIntMap *map)
static __inline void UnlockUIntMapWrite(UIntMap *map)
{ WriteUnlock(&map->lock); }
-#include "alListener.h"
#ifdef __cplusplus
extern "C" {
@@ -709,7 +708,7 @@ struct ALCcontext_struct
{
volatile RefCount ref;
- ALlistener *Listener;
+ struct ALlistener *Listener;
UIntMap SourceMap;
UIntMap EffectSlotMap;