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/alcChorus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Alc/alcChorus.c') diff --git a/Alc/alcChorus.c b/Alc/alcChorus.c index ab46243d..e5a20b5d 100644 --- a/Alc/alcChorus.c +++ b/Alc/alcChorus.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(ALchorusState *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 ALchorusState_Process(ALchorusState *state, ALuint SamplesToDo, const ALfloat *RESTRICT SamplesIn, ALfloat (*RESTRICT SamplesOut)[BUFFERSIZE]) +static ALvoid ALchorusState_Process(ALchorusState *state, ALuint SamplesToDo, const ALfloat *restrict SamplesIn, ALfloat (*restrict SamplesOut)[BUFFERSIZE]) { if(state->waveform == AL_CHORUS_WAVEFORM_TRIANGLE) ProcessTriangle(state, SamplesToDo, SamplesIn, SamplesOut); -- cgit v1.2.3