aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-10-29 11:50:41 -0700
committerChris Robinson <[email protected]>2018-10-29 11:50:41 -0700
commit662e1c5cc2107d45895ac4f6d8c598c89016eaeb (patch)
tree8697ee7d53ed35be8bc2102a6eb975993864b7a5 /Alc
parentea3789d9851a46b603675f813a2e7a82ec4e04ed (diff)
Fix some uses of RESTRICT
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c2
-rw-r--r--Alc/effects/modulator.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index efa78110..23996697 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -80,7 +80,7 @@ extern inline size_t clampz(size_t val, size_t min, size_t max);
extern inline ALfloat lerp(ALfloat val1, ALfloat val2, ALfloat mu);
extern inline ALfloat cubic(ALfloat val1, ALfloat val2, ALfloat val3, ALfloat val4, ALfloat mu);
-extern inline void aluVectorSet(aluVector *RESTRICT vector, ALfloat x, ALfloat y, ALfloat z, ALfloat w);
+extern inline void aluVectorSet(aluVector *vector, ALfloat x, ALfloat y, ALfloat z, ALfloat w);
extern inline void aluMatrixfSetRow(aluMatrixf *matrix, ALuint row,
ALfloat m0, ALfloat m1, ALfloat m2, ALfloat m3);
diff --git a/Alc/effects/modulator.c b/Alc/effects/modulator.c
index dd3d1981..87799dd7 100644
--- a/Alc/effects/modulator.c
+++ b/Alc/effects/modulator.c
@@ -35,7 +35,7 @@
typedef struct ALmodulatorState {
DERIVE_FROM_TYPE(ALeffectState);
- void (*GetSamples)(ALfloat*, ALsizei, const ALsizei, ALsizei);
+ void (*GetSamples)(ALfloat*RESTRICT, ALsizei, const ALsizei, ALsizei);
ALsizei index;
ALsizei step;