aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-05-23 10:00:58 -0700
committerChris Robinson <[email protected]>2014-05-23 10:00:58 -0700
commit5ef5d218c40f36c20f1971d2fc6af101ed00d756 (patch)
tree483aefa7f02ab54dd6e82b635d7df56dada172bf /Alc/ALc.c
parent3fc979174764e5c2fdc17080944c090f5be350c7 (diff)
Mark a few more functions as const
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 9c041ef8..1b28dabb 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1332,8 +1332,8 @@ ALuint ChannelsFromDevFmt(enum DevFmtChannels chans)
return 0;
}
-static ALboolean DecomposeDevFormat(ALenum format, enum DevFmtChannels *chans,
- enum DevFmtType *type)
+DECL_CONST static ALboolean DecomposeDevFormat(ALenum format,
+ enum DevFmtChannels *chans, enum DevFmtType *type)
{
static const struct {
ALenum format;
@@ -1379,7 +1379,7 @@ static ALboolean DecomposeDevFormat(ALenum format, enum DevFmtChannels *chans,
return AL_FALSE;
}
-static ALCboolean IsValidALCType(ALCenum type)
+DECL_CONST static ALCboolean IsValidALCType(ALCenum type)
{
switch(type)
{
@@ -1395,7 +1395,7 @@ static ALCboolean IsValidALCType(ALCenum type)
return ALC_FALSE;
}
-static ALCboolean IsValidALCChannels(ALCenum channels)
+DECL_CONST static ALCboolean IsValidALCChannels(ALCenum channels)
{
switch(channels)
{