aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-09-06 09:09:25 -0700
committerChris Robinson <[email protected]>2016-09-06 09:09:25 -0700
commita758cc82433ad4fd47aeac7e626dff4bd1fa739f (patch)
treeb51f7be8300671283289742113a546addca344f4 /Alc/ALc.c
parent1541ff24b87a3baee834fa8d8782d10eadb18c8e (diff)
Remove use of DECL_CONST
No idea if it was really gaining us anything, but removing it fixes a crash I was getting with libs built with Clang.
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 7759393b..c4eb0462 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1334,8 +1334,8 @@ ALuint ChannelsFromDevFmt(enum DevFmtChannels chans)
return 0;
}
-DECL_CONST static ALboolean DecomposeDevFormat(ALenum format,
- enum DevFmtChannels *chans, enum DevFmtType *type)
+static ALboolean DecomposeDevFormat(ALenum format, enum DevFmtChannels *chans,
+ enum DevFmtType *type)
{
static const struct {
ALenum format;
@@ -1381,7 +1381,7 @@ DECL_CONST static ALboolean DecomposeDevFormat(ALenum format,
return AL_FALSE;
}
-DECL_CONST static ALCboolean IsValidALCType(ALCenum type)
+static ALCboolean IsValidALCType(ALCenum type)
{
switch(type)
{
@@ -1397,7 +1397,7 @@ DECL_CONST static ALCboolean IsValidALCType(ALCenum type)
return ALC_FALSE;
}
-DECL_CONST static ALCboolean IsValidALCChannels(ALCenum channels)
+static ALCboolean IsValidALCChannels(ALCenum channels)
{
switch(channels)
{