aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-16 08:09:56 -0800
committerChris Robinson <[email protected]>2018-11-16 08:09:56 -0800
commitce370be52b70f09cd87e8dff80f2dcd289203423 (patch)
treefa65ff9cb2936250721570abb82ae462858ee7e2 /Alc
parent50f36d39f7e62cd9c8701ef12515cf2b24204069 (diff)
Remove some unneeded includes
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c2
-rw-r--r--Alc/backends/base.h4
-rw-r--r--Alc/inldefs.c2
3 files changed, 0 insertions, 8 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 4d03fc0b..a9b5a009 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -46,8 +46,6 @@
#include "cpu_caps.h"
#include "bsinc_inc.h"
-#include "backends/base.h"
-
/* Cone scalar */
ALfloat ConeScale = 1.0f;
diff --git a/Alc/backends/base.h b/Alc/backends/base.h
index 50da6f38..61b71a47 100644
--- a/Alc/backends/base.h
+++ b/Alc/backends/base.h
@@ -3,8 +3,6 @@
#include "alMain.h"
-#ifdef __cplusplus
-
#include <string>
#include <mutex>
@@ -116,6 +114,4 @@ struct BackendFactory {
virtual ALCbackend *createBackend(ALCdevice *device, ALCbackend_Type type) = 0;
};
-
-#endif /* __cplusplus */
#endif /* AL_BACKENDS_BASE_H */
diff --git a/Alc/inldefs.c b/Alc/inldefs.c
index dd1cff4a..025f2d27 100644
--- a/Alc/inldefs.c
+++ b/Alc/inldefs.c
@@ -8,8 +8,6 @@
#include "alBuffer.h"
#include "alEffect.h"
-#include "backends/base.h"
-
/* This is a place to dump inline function instantiations, to generate function
* bodies for calls that can't be inlined. C++ does not have a way to do this
* explicitly, so as long as there is C code calling inline functions, a body