aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcChorus.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/alcChorus.c
parenta6fa4a8bc291e4747d9cc66f4c76002c405bfc4e (diff)
Use restrict instead of RESTRICT
Diffstat (limited to 'Alc/alcChorus.c')
-rw-r--r--Alc/alcChorus.c6
1 files changed, 3 insertions, 3 deletions
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);