summaryrefslogtreecommitdiff
path: root/audio/openal/files/patch-src:alc:alc_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/openal/files/patch-src:alc:alc_context.c')
-rw-r--r--audio/openal/files/patch-src:alc:alc_context.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/openal/files/patch-src:alc:alc_context.c b/audio/openal/files/patch-src:alc:alc_context.c
new file mode 100644
index 000000000000..e39fce269521
--- /dev/null
+++ b/audio/openal/files/patch-src:alc:alc_context.c
@@ -0,0 +1,22 @@
+--- src/alc/alc_context.c~ Tue Aug 1 02:10:18 2000
++++ src/alc/alc_context.c Mon Sep 25 19:20:23 2000
+@@ -65,7 +65,7 @@
+ static ALCenum _alcDestroyContext(AL_context *cc);
+ static void _alcReallocContexts(ALuint newsize);
+ static int _alcCidToIndex(ALuint cid);
+-static ALuint _alcIndexToCid(int index);
++static ALuint _alcIndexToCid(int idx);
+
+ #ifdef JLIB
+ unsigned int jlib_debug = 0;
+@@ -777,8 +777,8 @@
+ return cid - CONTEXT_BASE;
+ }
+
+-static ALuint _alcIndexToCid(int index) {
+- return index + CONTEXT_BASE;
++static ALuint _alcIndexToCid(int idx) {
++ return idx + CONTEXT_BASE;
+ }
+
+ /*