aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/null.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-07 12:56:41 -0700
committerChris Robinson <[email protected]>2013-10-07 12:56:41 -0700
commitfc31a414732d1b45f69f66236bb52b8226762db5 (patch)
tree045deb8197acb3afb7cfa953fde16b898a1153f6 /Alc/effects/null.c
parentb3841653c67276f23717b87b47899740ab0028f4 (diff)
Constify the effect parameter of effect getters
Diffstat (limited to 'Alc/effects/null.c')
-rw-r--r--Alc/effects/null.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/effects/null.c b/Alc/effects/null.c
index 62e9f6eb..ff378960 100644
--- a/Alc/effects/null.c
+++ b/Alc/effects/null.c
@@ -126,7 +126,7 @@ void ALnull_setParamfv(ALeffect* UNUSED(effect), ALCcontext *context, ALenum par
}
}
-void ALnull_getParami(ALeffect* UNUSED(effect), ALCcontext *context, ALenum param, ALint* UNUSED(val))
+void ALnull_getParami(const ALeffect* UNUSED(effect), ALCcontext *context, ALenum param, ALint* UNUSED(val))
{
switch(param)
{
@@ -134,7 +134,7 @@ void ALnull_getParami(ALeffect* UNUSED(effect), ALCcontext *context, ALenum para
SET_ERROR_AND_RETURN(context, AL_INVALID_ENUM);
}
}
-void ALnull_getParamiv(ALeffect* UNUSED(effect), ALCcontext *context, ALenum param, ALint* UNUSED(vals))
+void ALnull_getParamiv(const ALeffect* UNUSED(effect), ALCcontext *context, ALenum param, ALint* UNUSED(vals))
{
switch(param)
{
@@ -142,7 +142,7 @@ void ALnull_getParamiv(ALeffect* UNUSED(effect), ALCcontext *context, ALenum par
SET_ERROR_AND_RETURN(context, AL_INVALID_ENUM);
}
}
-void ALnull_getParamf(ALeffect* UNUSED(effect), ALCcontext *context, ALenum param, ALfloat* UNUSED(val))
+void ALnull_getParamf(const ALeffect* UNUSED(effect), ALCcontext *context, ALenum param, ALfloat* UNUSED(val))
{
switch(param)
{
@@ -150,7 +150,7 @@ void ALnull_getParamf(ALeffect* UNUSED(effect), ALCcontext *context, ALenum para
SET_ERROR_AND_RETURN(context, AL_INVALID_ENUM);
}
}
-void ALnull_getParamfv(ALeffect* UNUSED(effect), ALCcontext *context, ALenum param, ALfloat* UNUSED(vals))
+void ALnull_getParamfv(const ALeffect* UNUSED(effect), ALCcontext *context, ALenum param, ALfloat* UNUSED(vals))
{
switch(param)
{