diff options
author | Chris Robinson <[email protected]> | 2014-05-23 10:00:58 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-05-23 10:00:58 -0700 |
commit | 5ef5d218c40f36c20f1971d2fc6af101ed00d756 (patch) | |
tree | 483aefa7f02ab54dd6e82b635d7df56dada172bf /Alc/ALc.c | |
parent | 3fc979174764e5c2fdc17080944c090f5be350c7 (diff) |
Mark a few more functions as const
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) { |