From 52efb8d7f43e85659bc84455361f8685a5f493ed Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 22 May 2013 15:11:39 -0700 Subject: Use restrict instead of RESTRICT --- Alc/alcFlanger.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Alc/alcFlanger.c') 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); -- cgit v1.2.3