summaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2014-11-15 23:20:38 -0800
committerChris Robinson <chris.kcat@gmail.com>2014-11-15 23:20:38 -0800
commitd4e52b64d86a7ebbce3d67954c22b8eae091729b (patch)
treea0ea7413edce45f4019cfd3f584cc56087678312 /Alc/panning.c
parent308e6b697a3e02882fa6acb99bf26052ffa7649b (diff)
Mark a function as const
Diffstat (limited to 'Alc/panning.c')
-rw-r--r--Alc/panning.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 754a8bb3..17282892 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -111,7 +111,7 @@ void ComputeBFormatGains(const ALCdevice *device, const ALfloat mtx[4], ALfloat
}
-static inline const char *GetLabelFromChannel(enum Channel channel)
+DECL_CONST static inline const char *GetLabelFromChannel(enum Channel channel)
{
switch(channel)
{