From 2f644c7ed5d72ec1a469be3e028923d475403f0b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 15 Feb 2010 22:01:23 -0800 Subject: Constify some globals --- Alc/ALc.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index 2f998c70..1327c04f 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -180,12 +180,14 @@ static ALCchar *alcDefaultAllDeviceSpecifier; static ALCchar *alcCaptureDefaultDeviceSpecifier; -static ALCchar alcExtensionList[] = "ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXTX_thread_local_context"; -static ALCint alcMajorVersion = 1; -static ALCint alcMinorVersion = 1; - -static ALCint alcEFXMajorVersion = 1; -static ALCint alcEFXMinorVersion = 0; +static const ALCchar alcExtensionList[] = + "ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE " + "ALC_EXT_disconnect ALC_EXT_EFX ALC_EXTX_thread_local_context"; +static const ALCint alcMajorVersion = 1; +static const ALCint alcMinorVersion = 1; + +static const ALCint alcEFXMajorVersion = 1; +static const ALCint alcEFXMinorVersion = 0; /////////////////////////////////////////////////////// -- cgit v1.2.3