summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/alsa.c2
-rw-r--r--Alc/dsound.c4
-rw-r--r--Alc/loopback.c2
-rw-r--r--Alc/null.c2
-rw-r--r--Alc/oss.c2
-rw-r--r--Alc/pulseaudio.c2
-rw-r--r--Alc/solaris.c2
-rw-r--r--Alc/wave.c2
-rw-r--r--Alc/winmm.c2
9 files changed, 10 insertions, 10 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index f4f7f1c8..880211b9 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -988,7 +988,7 @@ static void alsa_capture_samples(ALCdevice *Device, ALCvoid *Buffer, ALCuint Sam
}
-BackendFuncs alsa_funcs = {
+static const BackendFuncs alsa_funcs = {
alsa_open_playback,
alsa_close_playback,
alsa_reset_playback,
diff --git a/Alc/dsound.c b/Alc/dsound.c
index ca39d193..7ef49729 100644
--- a/Alc/dsound.c
+++ b/Alc/dsound.c
@@ -73,7 +73,7 @@ static DevMap *DeviceList;
static ALuint NumDevices;
-void *DSoundLoad(void)
+static void *DSoundLoad(void)
{
if(!ds_handle)
{
@@ -538,7 +538,7 @@ static ALCuint DSoundAvailableSamples(ALCdevice *pDevice)
}
-BackendFuncs DSoundFuncs = {
+static const BackendFuncs DSoundFuncs = {
DSoundOpenPlayback,
DSoundClosePlayback,
DSoundResetPlayback,
diff --git a/Alc/loopback.c b/Alc/loopback.c
index 036e72c1..50975c9c 100644
--- a/Alc/loopback.c
+++ b/Alc/loopback.c
@@ -48,7 +48,7 @@ static void loopback_stop_playback(ALCdevice *device)
(void)device;
}
-static BackendFuncs loopback_funcs = {
+static const BackendFuncs loopback_funcs = {
loopback_open_playback,
loopback_close_playback,
loopback_reset_playback,
diff --git a/Alc/null.c b/Alc/null.c
index 15efee1d..1a08de8f 100644
--- a/Alc/null.c
+++ b/Alc/null.c
@@ -151,7 +151,7 @@ static ALCboolean null_open_capture(ALCdevice *device, const ALCchar *deviceName
}
-BackendFuncs null_funcs = {
+static const BackendFuncs null_funcs = {
null_open_playback,
null_close_playback,
null_reset_playback,
diff --git a/Alc/oss.c b/Alc/oss.c
index a8daa4d4..bcf221c8 100644
--- a/Alc/oss.c
+++ b/Alc/oss.c
@@ -476,7 +476,7 @@ static ALCuint oss_available_samples(ALCdevice *pDevice)
}
-BackendFuncs oss_funcs = {
+static const BackendFuncs oss_funcs = {
oss_open_playback,
oss_close_playback,
oss_reset_playback,
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c
index c92cab52..353e2e09 100644
--- a/Alc/pulseaudio.c
+++ b/Alc/pulseaudio.c
@@ -1240,7 +1240,7 @@ static void pulse_capture_samples(ALCdevice *device, ALCvoid *buffer, ALCuint sa
} //}}}
-BackendFuncs pulse_funcs = { //{{{
+static const BackendFuncs pulse_funcs = { //{{{
pulse_open_playback,
pulse_close_playback,
pulse_reset_playback,
diff --git a/Alc/solaris.c b/Alc/solaris.c
index 1b94be1d..0510985e 100644
--- a/Alc/solaris.c
+++ b/Alc/solaris.c
@@ -273,7 +273,7 @@ static ALCuint solaris_available_samples(ALCdevice *pDevice)
}
-BackendFuncs solaris_funcs = {
+static const BackendFuncs solaris_funcs = {
solaris_open_playback,
solaris_close_playback,
solaris_reset_playback,
diff --git a/Alc/wave.c b/Alc/wave.c
index 6ba662cf..0b22ee27 100644
--- a/Alc/wave.c
+++ b/Alc/wave.c
@@ -321,7 +321,7 @@ static ALCboolean wave_open_capture(ALCdevice *pDevice, const ALCchar *deviceNam
}
-BackendFuncs wave_funcs = {
+static const BackendFuncs wave_funcs = {
wave_open_playback,
wave_close_playback,
wave_reset_playback,
diff --git a/Alc/winmm.c b/Alc/winmm.c
index 4be39b22..eebeb9de 100644
--- a/Alc/winmm.c
+++ b/Alc/winmm.c
@@ -729,7 +729,7 @@ static void WinMMCaptureSamples(ALCdevice *pDevice, ALCvoid *pBuffer, ALCuint lS
}
-static BackendFuncs WinMMFuncs = {
+static const BackendFuncs WinMMFuncs = {
WinMMOpenPlayback,
WinMMClosePlayback,
WinMMResetPlayback,