aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcFlanger.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-05-22 15:11:39 -0700
committerChris Robinson <[email protected]>2013-05-22 15:11:39 -0700
commit52efb8d7f43e85659bc84455361f8685a5f493ed (patch)
tree288da908e7e58e8c32787d03032151461bca9188 /Alc/alcFlanger.c
parenta6fa4a8bc291e4747d9cc66f4c76002c405bfc4e (diff)
Use restrict instead of RESTRICT
Diffstat (limited to 'Alc/alcFlanger.c')
-rw-r--r--Alc/alcFlanger.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/alcFlanger.c b/Alc/alcFlanger.c
index 88e2d625..a0f94a46 100644
--- a/Alc/alcFlanger.c
+++ b/Alc/alcFlanger.c
@@ -178,8 +178,8 @@ static __inline void Sinusoid(ALint *delay_left, ALint *delay_right, ALint offse
#define DECL_TEMPLATE(func) \
static void Process##func(ALflangerState *state, ALuint SamplesToDo, \
- const ALfloat *RESTRICT SamplesIn, \
- ALfloat (*RESTRICT SamplesOut)[BUFFERSIZE]) \
+ const ALfloat *restrict SamplesIn, \
+ ALfloat (*restrict SamplesOut)[BUFFERSIZE]) \
{ \
const ALint mask = state->BufferLength-1; \
ALint offset = state->offset; \
@@ -235,7 +235,7 @@ DECL_TEMPLATE(Sinusoid)
#undef DECL_TEMPLATE
-static ALvoid ALflangerState_Process(ALflangerState *state, ALuint SamplesToDo, const ALfloat *RESTRICT SamplesIn, ALfloat (*RESTRICT SamplesOut)[BUFFERSIZE])
+static ALvoid ALflangerState_Process(ALflangerState *state, ALuint SamplesToDo, const ALfloat *restrict SamplesIn, ALfloat (*restrict SamplesOut)[BUFFERSIZE])
{
if(state->waveform == AL_FLANGER_WAVEFORM_TRIANGLE)
ProcessTriangle(state, SamplesToDo, SamplesIn, SamplesOut);